add #version 140 to GLSL shaders to fix running with newer OpenGL
This commit is contained in:
parent
e666943830
commit
20a268ccb1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user