Fix BG z offset
This commit is contained in:
@@ -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