Skip to content

Commit

Permalink
bin: downgrade shaders to GLSL version 1.30
Browse files Browse the repository at this point in the history
Resolves #327.
  • Loading branch information
rr- committed Jan 14, 2022
1 parent 0eacdb3 commit af119dc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bin/shaders/2d.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#version 330 core
#version 130
#extension GL_ARB_explicit_attrib_location: enable

in vec2 vertTexCoords;

Expand Down
3 changes: 2 additions & 1 deletion bin/shaders/2d.vsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#version 330 core
#version 130
#extension GL_ARB_explicit_attrib_location: enable

layout(location = 0) in vec2 inPosition;

Expand Down
3 changes: 2 additions & 1 deletion bin/shaders/3d.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#version 330 core
#version 130
#extension GL_ARB_explicit_attrib_location: enable
#extension GL_EXT_gpu_shader4: enable

in vec4 vertColor;
Expand Down
3 changes: 2 additions & 1 deletion bin/shaders/3d.vsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#version 330 core
#version 130
#extension GL_ARB_explicit_attrib_location: enable

layout(location = 0) in vec3 inPosition;
layout(location = 1) in vec3 inTexCoords;
Expand Down

0 comments on commit af119dc

Please sign in to comment.