summaryrefslogtreecommitdiff
path: root/src/shaders/common/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shaders/common/core.h')
-rw-r--r--src/shaders/common/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shaders/common/core.h b/src/shaders/common/core.h
index 69ff48b..2e895c5 100644
--- a/src/shaders/common/core.h
+++ b/src/shaders/common/core.h
@@ -50,7 +50,7 @@ if(cond) return 0; \
#define MVP_PROCESS \
do{ \
-static Vec4 p; p.xyz = in->vertex->position; p.w = 1; \
+static Vec4 p; p.xyz = in->position; p.w = 1; \
internal_mat4_mulvec4(uniforms->mvp, &p, clipcoord); \
}while(0)