DEADSOFTWARE

added opengl and sdl2 wrappers to allegro (WIP)
[d2df-sdl.git] / src / nogl / noGL.pas
index 0e1566cf757aa8893dbad8285e1fe91ce8ac7f59..955c236768283309a6aa56f63a3366509acad395 100644 (file)
@@ -170,12 +170,14 @@ interface
   procedure nogl_Init;
   procedure nogl_Quit;
 
-{$IFDEF USE_GLES1}}
+{$IF DEFINED(USE_GLES1)}
   {$I noGLES1.inc}
+{$ELSEIF DEFINED(USE_GLALSW)}
+  {$I noGLALSW.inc}
+{$ELSEIF DEFINED(USE_GLSTUB)}
+  {$I noGLSTUB.inc}
 {$ELSE}
-  {$IFDEF USE_GLSTUB}
-    {$I noGLSTUB.inc}
-  {$ENDIF}
+  {$ERROR use one of gl wrapper: USE_GLES1 USE_GLALSW USE_GLSTUB}}
 {$ENDIF}
 
 end.