Fix BG z offset
This commit is contained in:
1 parent
27e323375f
commit
459621c319
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ class BG
|
|||||||
glMatrixMode(GL_MODELVIEW);
|
glMatrixMode(GL_MODELVIEW);
|
||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
|
|
||||||
glTranslatef(homex, homey, z);
|
glTranslatef(homex, homey, 0);
|
||||||
glScalef(scalex, scaley, 1f);
|
glScalef(scalex, scaley, 1f);
|
||||||
glRotatef( r, 0.0f, 0.0f, 1.0f );
|
glRotatef( r, 0.0f, 0.0f, 1.0f );
|
||||||
glTranslatef(-offsetx, -offsety, z);
|
glTranslatef(-offsetx, -offsety, z);
|
||||||
|
|||||||
Reference in new issue
Block a user