aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-03-27 11:23:36 +0100
committerAndre Weissflog <floooh@gmail.com>2019-03-27 11:23:36 +0100
commitf96e0ad1bc9552ba825e0d5ae3811e1e0f609e96 (patch)
tree5d6eff88d1193b66f362dbdeb694ef0791cf7466 /util
parent355a26df1d550a0e6efd7e1f62e89d49ed694501 (diff)
sokol_gl.h: fix OpenGL shader code
Diffstat (limited to 'util')
-rw-r--r--util/sokol_gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_gl.h b/util/sokol_gl.h
index 1a31b8c7..24565c65 100644
--- a/util/sokol_gl.h
+++ b/util/sokol_gl.h
@@ -240,7 +240,7 @@ static const char* _sgl_vs_src =
"uniform mat4 mvp;\n"
"uniform mat4 tm;\n"
"in vec4 position;\n"
- "in vec4 texcoord0;\n"
+ "in vec2 texcoord0;\n"
"in vec4 color0;\n"
"out vec4 uv;\n"
"out vec4 color;\n"