Fix sample shaders : support limited to 3.0ES
This commit is contained in:
parent
df48698ab7
commit
beaf176819
|
@ -1,4 +1,4 @@
|
||||||
#version 330 core
|
#version 300 es
|
||||||
layout(location = 0) in vec3 vertexPosition_modelspace;
|
layout(location = 0) in vec3 vertexPosition_modelspace;
|
||||||
void main(){
|
void main(){
|
||||||
gl_Position.xyz = vertexPosition_modelspace;
|
gl_Position.xyz = vertexPosition_modelspace;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 330 core
|
#version 300 es
|
||||||
out vec3 color;
|
out vec3 color;
|
||||||
void main(){
|
void main(){
|
||||||
color = vec3(1,0,0);
|
color = vec3(1,0,0);
|
||||||
|
|
Loading…
Reference in New Issue