Fix for GL matrix stack overflow.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2472 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2009-09-11 15:04:50 +00:00
parent 877d6cd9bb
commit 3b1f0e97df

View File

@ -1235,7 +1235,7 @@ FAIL:
GLfloat ex_em_hi[4] = {0.6, 0.8, 1.0, aleph}; // pale blue
GLfloat ex_em_lo[4] = {0.2, 0.0, 1.0, 0.0}; // purplish-blue-black
OOGL(glPushMatrix());
OOGL(glDisable(GL_CULL_FACE)); // face culling
OOGL(glDisable(GL_TEXTURE_2D));
@ -1256,6 +1256,8 @@ FAIL:
}
OOGLEND();
OOGL(glPopMatrix());
EndAdditiveBlending();
}