change shaders to #version 130

This commit is contained in:
Josh Holtrop 2016-07-07 21:23:47 -04:00
parent a08bc144e2
commit ea6613a891
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#version 410
#version 130
/* Texture coordinate: s, t */
in vec2 texture_coord_v;

View File

@ -1,4 +1,4 @@
#version 410
#version 130
/* Viewport width and height */
uniform ivec2 viewport_size;
@ -6,7 +6,7 @@ uniform ivec2 viewport_size;
uniform ivec2 position;
/* Vertex coordinates: x, y, s, t */
layout(location = 0) in vec4 coords;
in vec4 coords;
/* Output texture coordinate: s, t */
out vec2 texture_coord_v;