Fixed alignment for matrix passed into UploadMatrix4x4 in gluLookAt
This commit is contained in:
parent
d054dde785
commit
202f546848
|
@ -409,7 +409,7 @@ GL_FORCE_INLINE void vec3f_normalize_sh4(float *v){
|
||||||
void gluLookAt(GLfloat eyex, GLfloat eyey, GLfloat eyez, GLfloat centerx,
|
void gluLookAt(GLfloat eyex, GLfloat eyey, GLfloat eyez, GLfloat centerx,
|
||||||
GLfloat centery, GLfloat centerz, GLfloat upx, GLfloat upy,
|
GLfloat centery, GLfloat centerz, GLfloat upx, GLfloat upy,
|
||||||
GLfloat upz) {
|
GLfloat upz) {
|
||||||
GLfloat m [16];
|
GLfloat m [16] __attribute__((aligned(32)));
|
||||||
GLfloat f [3];
|
GLfloat f [3];
|
||||||
GLfloat u [3];
|
GLfloat u [3];
|
||||||
GLfloat s [3];
|
GLfloat s [3];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user