X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_sound_sdl.inc;h=9436cec6b42dee983b3ce2d5ae2aef01c68e5082;hb=9dca47bd3c931ac2de19aa738124ba843072c2b6;hp=ccfd9c4bc2715732e3d746db9f45e1f02065ff9d;hpb=724d5405f0f3fe166b931b1b8b5745b2eb340651;p=d2df-sdl.git diff --git a/src/engine/e_sound_sdl.inc b/src/engine/e_sound_sdl.inc index ccfd9c4..9436cec 100644 --- a/src/engine/e_sound_sdl.inc +++ b/src/engine/e_sound_sdl.inc @@ -16,7 +16,7 @@ interface uses {$IFDEF USE_MEMPOOL}mempool,{$ENDIF} - SDL2, SDL2_mixer, + SDL2, SDL2_mixer, envvars, e_log, SysUtils; type @@ -181,7 +181,7 @@ begin {$IFDEF HEADLESS} // HACK: shit this into env and hope for the best SetEnvVar('SDL_AUDIODRIVER', 'dummy'); - {$ELSEIF} + {$ENDIF} if NoOutput then begin Result := true; Exit end;