X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=09618966963e2bbe2cc06dd55eedf42e0ad0127d;hb=ee093c74b7f323b8589dc39ca7c39e89bc6e7e63;hp=345f11232604bd161208a4f3f0d92e32b7c75982;hpb=d3967cf39bf31bc5573af05576457ccfce96e9ea;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 345f112..0961896 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -351,12 +351,17 @@ function gPause (): Boolean; inline; implementation uses +{$IFDEF USE_NANOGL} + nanoGL, +{$ELSE} + GL, GLExt, +{$ENDIF} e_texture, g_textures, g_main, g_window, g_menu, e_input, e_log, g_console, g_items, g_map, g_panel, g_playermodel, g_gfx, g_options, g_weapons, Math, g_triggers, g_monsters, e_sound, CONFIG, g_language, g_net, - ENet, e_msg, g_netmsg, g_netmaster, GL, GLExt, + ENet, e_msg, g_netmsg, g_netmaster, sfs, wadreader, g_holmes; @@ -3002,7 +3007,6 @@ begin * glBlendFunc(GL_DST_ALPHA, GL_ONE); * draw all geometry up to and including walls (with alpha-testing, probably) -- this does lighting *) - wassc := (glIsEnabled(GL_SCISSOR_TEST) <> 0); if wassc then glGetIntegerv(GL_SCISSOR_BOX, @scxywh[0]) else glGetIntegerv(GL_VIEWPORT, @scxywh[0]);