change shaders to #version 130
This commit is contained in:
parent
a08bc144e2
commit
ea6613a891
@ -1,4 +1,4 @@
|
|||||||
#version 410
|
#version 130
|
||||||
|
|
||||||
/* Texture coordinate: s, t */
|
/* Texture coordinate: s, t */
|
||||||
in vec2 texture_coord_v;
|
in vec2 texture_coord_v;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#version 410
|
#version 130
|
||||||
|
|
||||||
/* Viewport width and height */
|
/* Viewport width and height */
|
||||||
uniform ivec2 viewport_size;
|
uniform ivec2 viewport_size;
|
||||||
@ -6,7 +6,7 @@ uniform ivec2 viewport_size;
|
|||||||
uniform ivec2 position;
|
uniform ivec2 position;
|
||||||
|
|
||||||
/* Vertex coordinates: x, y, s, t */
|
/* Vertex coordinates: x, y, s, t */
|
||||||
layout(location = 0) in vec4 coords;
|
in vec4 coords;
|
||||||
|
|
||||||
/* Output texture coordinate: s, t */
|
/* Output texture coordinate: s, t */
|
||||||
out vec2 texture_coord_v;
|
out vec2 texture_coord_v;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user