Fix the translate order in OpenGL driver once more ;-)
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
9f09553b83
commit
516e837e00
@ -1540,10 +1540,9 @@ void COpenGLDriver::setRenderStates2DMode(bool alpha, bool texture, bool alphaCh
|
||||
|
||||
glLoadMatrixf(glmat);
|
||||
|
||||
glTranslatef (0.375, 0.375, 0.0);
|
||||
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
glTranslatef (0.375, 0.375, 0.0);
|
||||
|
||||
glMatrixMode(GL_TEXTURE);
|
||||
glLoadIdentity();
|
||||
@ -1560,7 +1559,6 @@ void COpenGLDriver::setRenderStates2DMode(bool alpha, bool texture, bool alphaCh
|
||||
|
||||
glDisable(GL_ALPHA_TEST);
|
||||
glCullFace(GL_BACK);
|
||||
|
||||
}
|
||||
|
||||
if (texture)
|
||||
|
Loading…
x
Reference in New Issue
Block a user