1
0

Fix BG z offset

This commit is contained in:
otya128
2016-12-05 22:48:09 +09:00
parent 27e323375f
commit 459621c319

View File

@@ -42,7 +42,7 @@ class BG
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslatef(homex, homey, z);
glTranslatef(homex, homey, 0);
glScalef(scalex, scaley, 1f);
glRotatef( r, 0.0f, 0.0f, 1.0f );
glTranslatef(-offsetx, -offsety, z);