X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=09618966963e2bbe2cc06dd55eedf42e0ad0127d;hb=ee093c74b7f323b8589dc39ca7c39e89bc6e7e63;hp=3e4e0221fb917c86e9261bb23b13f50d64ed7f6a;hpb=281b90361877a19420b086d8729eb4b6aaf882fa;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 3e4e022..0961896 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -3007,11 +3007,7 @@ begin * 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