X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fsdl%2Fg_system.pas;h=b86a70b0941e5b187b454d872abeb29b6eff3bfe;hp=3e78fadcfdc997d324162bb67f1e47560c8f4ad4;hb=d63e6eaaecbc83b40c9b932b3381fc324f6a2461;hpb=87c3a28dda4534eec3fde4ef06dc5f324b2c4b3b diff --git a/src/game/sdl/g_system.pas b/src/game/sdl/g_system.pas index 3e78fad..b86a70b 100644 --- a/src/game/sdl/g_system.pas +++ b/src/game/sdl/g_system.pas @@ -109,7 +109,7 @@ implementation screen := SDL_SetVideoMode(w, h, bpp, flags); if screen <> nil then begin - {$IFDEF USE_NOGL} + {$IFDEF NOGL_INIT} nogl_Init; {$ENDIF} SDL_WM_SetCaption(GameTitle, nil); @@ -470,7 +470,7 @@ implementation RemoveJoystick(i); if screen <> nil then begin - {$IFDEF USE_NOGL} + {$IFDEF NOGL_INIT} nogl_Quit; {$ENDIF} SDL_FreeSurface(screen)