Commit 4f80f4a2 authored by hybrid's avatar hybrid

Make sure we really set the proper texture matrix. Fixes a render state confusion.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2797 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 01478210
......@@ -2539,6 +2539,9 @@ void COpenGLDriver::setRenderStates2DMode(bool alpha, bool texture, bool alphaCh
glLoadIdentity();
glTranslatef(0.375, 0.375, 0.0);
// Make sure we set first texture matrix
if (MultiTextureExtension)
extGlActiveTexture(GL_TEXTURE0_ARB);
glMatrixMode(GL_TEXTURE);
glLoadIdentity();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment