summaryrefslogtreecommitdiff
path: root/assets/vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'assets/vertex.glsl')
-rwxr-xr-xassets/vertex.glsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/vertex.glsl b/assets/vertex.glsl
index a0af427..d14d852 100755
--- a/assets/vertex.glsl
+++ b/assets/vertex.glsl
@@ -1,12 +1,12 @@
-#version 330
+#version 330 core
in vec3 position;
in uint data;
-flat out uint pass_data;
-
uniform mat4 proj_view;
+flat out uint pass_data;
+
void main(void)
{
gl_Position = proj_view * vec4(position, 1.0);