Fixed an OpenGL error.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4474 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
cfb869eba9
commit
0913e64d0b
@ -3225,7 +3225,7 @@ static const OOMatrix starboard_matrix =
|
|||||||
OOGL([self useGUILightSource:demoShipMode]);
|
OOGL([self useGUILightSource:demoShipMode]);
|
||||||
|
|
||||||
// HACK: store view matrix for absolute drawing of active subentities (i.e., turrets).
|
// 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 furthest = draw_count - 1;
|
||||||
int nearest = 0;
|
int nearest = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user