diff --git a/src/shaders/defaultVertexShader.glsl b/src/shaders/defaultVertexShader.glsl index 330cb20..67b0e7b 100644 --- a/src/shaders/defaultVertexShader.glsl +++ b/src/shaders/defaultVertexShader.glsl @@ -1,4 +1,4 @@ -#version 330 core +#version 300 es layout(location = 0) in vec3 vertexPosition_modelspace; void main(){ gl_Position.xyz = vertexPosition_modelspace; diff --git a/src/shaders/fragmentRed.glsl b/src/shaders/fragmentRed.glsl index 15e33a1..d010e6b 100644 --- a/src/shaders/fragmentRed.glsl +++ b/src/shaders/fragmentRed.glsl @@ -1,4 +1,4 @@ -#version 330 core +#version 300 es out vec3 color; void main(){ color = vec3(1,0,0);