mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
align local variables on stack
This commit is contained in:
@@ -100,7 +100,7 @@ glm_unproject(vec3 pos, mat4 m, vec4 vp, vec3 dest) {
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_project(vec3 pos, mat4 m, vec4 vp, vec3 dest) {
|
||||
vec4 pos4, vone = GLM_VEC4_ONE_INIT;
|
||||
CGLM_ALIGN(16) vec4 pos4, vone = GLM_VEC4_ONE_INIT;
|
||||
|
||||
glm_vec4(pos, 1.0f, pos4);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user