DEADSOFTWARE

fix regresion: holmes with sdl2
[d2df-sdl.git] / src / game / Doom2DF.lpr
index 7934ed1d97d51ae066cb963c295423364cd71a75..7f869f160006312da7185f9baf3d2a2a8e88cfe6 100644 (file)
   {$ERROR Sound driver not selected. Use -dUSE_SOUNDSTUB or -dUSE_SDLMIXER or -dUSE_FMOD or -dUSE_OPENAL}
 {$ENDIF}
 
+{$IFDEF ENABLE_HOLMES}
+  {$IFDEF HEADLESS}
+    {$ERROR Holmes in HEADLESS mode has no sense}
+  {$ENDIF}
+  {$IFNDEF USE_SDL2}
+    {$ERROR Holmes supported only with SDL2}
+  {$ENDIF}
+  {$IFDEF USE_GLES1}
+    {$ERROR Holmes not supported with GLES}
+  {$ENDIF}
+{$ENDIF}
+
 uses
 {$IFDEF ANDROID}
   ctypes,