Fix sample shaders : support limited to 3.0ES

This commit is contained in:
Kienan Stewart 2020-02-06 23:21:22 -05:00
parent df48698ab7
commit beaf176819
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#version 330 core
#version 300 es
layout(location = 0) in vec3 vertexPosition_modelspace;
void main(){
gl_Position.xyz = vertexPosition_modelspace;

View File

@ -1,4 +1,4 @@
#version 330 core
#version 300 es
out vec3 color;
void main(){
color = vec3(1,0,0);