Fixed an OpenGL error.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4474 127b21dd-08f5-0310-b4b7-95ae10353056
master
Jens Ayton 2011-03-14 23:16:26 +00:00
parent cfb869eba9
commit 0913e64d0b
1 changed files with 1 additions and 1 deletions

View File

@ -3225,7 +3225,7 @@ static const OOMatrix starboard_matrix =
OOGL([self useGUILightSource:demoShipMode]);
// HACK: store view matrix for absolute drawing of active subentities (i.e., turrets).
OOGL(viewMatrix = OOMatrixLoadGLMatrix(GL_MODELVIEW));
OOGL(viewMatrix = OOMatrixLoadGLMatrix(GL_MODELVIEW_MATRIX));
int furthest = draw_count - 1;
int nearest = 0;