diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 3e4e0221fb917c86e9261bb23b13f50d64ed7f6a..09618966963e2bbe2cc06dd55eedf42e0ad0127d 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
* glBlendFunc(GL_DST_ALPHA, GL_ONE);
* draw all geometry up to and including walls (with alpha-testing, probably) -- this does lighting
*)
-{$IFDEF USE_NANOGL} // FIXIT: nanoGL doesn't support glIsEnabled
- wassc := false;
-{$ELSE}
wassc := (glIsEnabled(GL_SCISSOR_TEST) <> 0);
-{$ENDIF}
if wassc then glGetIntegerv(GL_SCISSOR_BOX, @scxywh[0]) else glGetIntegerv(GL_VIEWPORT, @scxywh[0]);
// setup OpenGL parameters