change shaders to #version 130
This commit is contained in:
1 parent
a08bc144e2
commit
ea6613a891
2 files changed
+3
-3
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#version 410
|
||||
#version 130
|
||||
|
||||
/* Texture coordinate: s, t */
|
||||
in vec2 texture_coord_v;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user