From 4984946caf0397a13da7605bc1ee406ea7354628 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 18 Jul 2020 03:25:53 +0800 Subject: -VertexShaderIn --- src/shaders/common/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shaders/common') 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) -- cgit v1.1-26-g67d0