Fix the translate order in OpenGL driver once more ;-)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2007-08-23 21:30:30 +00:00
parent 04558e16a2
commit 80c4ef0471
1 changed files with 1 additions and 3 deletions

View File

@ -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)