add #version 140 to GLSL shaders to fix running with newer OpenGL
This commit is contained in:
1 parent
e666943830
commit
20a268ccb1
2 files changed
+2
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#version 140
|
||||
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#version 140
|
||||
|
||||
attribute vec3 pos;
|
||||
attribute vec3 normal;
|
||||
|
||||
Reference in new issue
Block a user