diff options
author | chai <chaifix@163.com> | 2020-07-18 03:25:53 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-07-18 03:25:53 +0800 |
commit | 4984946caf0397a13da7605bc1ee406ea7354628 (patch) | |
tree | 0e87b71ae7639b8f12dbf3e8ec94e2087390acef /src/shaders/common/core.h | |
parent | e5e995103377f9bb79123ef8257d8680ed0945fc (diff) |
-VertexShaderIn
Diffstat (limited to 'src/shaders/common/core.h')
-rw-r--r-- | src/shaders/common/core.h | 2 |
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) |