Browse Source

Correct GLSL version;

bjorn 7 years ago
parent
commit
c28af00678
2 changed files with 2 additions and 1 deletions
  1. 0 0
      api/init.lua
  2. 2 1
      api/lovr/graphics/Shader/init.lua

File diff suppressed because it is too large
+ 0 - 0
api/init.lua


+ 2 - 1
api/lovr/graphics/Shader/init.lua

@@ -10,7 +10,8 @@ return {
     'lovr.graphics.newComputeShader'
   },
   notes = [[
-    The current GLSL version used is 150.
+    The GLSL version used is 430 on systems that support compute shaders and 150 otherwise.  The
+    version used for WebGL is 300 es.
 
     The default vertex shader:
 

Some files were not shown because too many files changed in this diff