Merge branch 'fix-glulookat-alignment' into 'master'

Fixed alignment for matrix passed into UploadMatrix4x4 in gluLookAt

See merge request simulant/GLdc!108
This commit is contained in:
Luke Benstead 2023-09-20 15:47:38 +00:00
commit 420e2d75f2

View File

@ -409,7 +409,7 @@ GL_FORCE_INLINE void vec3f_normalize_sh4(float *v){
void gluLookAt(GLfloat eyex, GLfloat eyey, GLfloat eyez, GLfloat centerx,
GLfloat centery, GLfloat centerz, GLfloat upx, GLfloat upy,
GLfloat upz) {
GLfloat m [16];
GLfloat m [16] __attribute__((aligned(32)));
GLfloat f [3];
GLfloat u [3];
GLfloat s [3];