aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/tri.vert2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/tri.vert b/demos/tri.vert
index 928aa4bb..9915a6bd 100644
--- a/demos/tri.vert
+++ b/demos/tri.vert
@@ -6,7 +6,7 @@
#extension GL_ARB_shading_language_420pack : enable
layout (location = 0) in vec4 pos;
layout (location = 1) in vec2 attr;
-out vec2 texcoord;
+layout (location = 0) out vec2 texcoord;
void main() {
texcoord = attr;
gl_Position = pos;