DEADSOFTWARE

Added support OpenGL ES 1.1 through nanoGL (have some bugs) and fix build for ARM
[d2df-sdl.git] / src / flexui / sdlcarcass.pas
index 59e43fd31112ef0020da1cff36c23a3976465c63..4bd2a6b135bb91dbd9c57dea5d86689fa3b83b94 100644 (file)
@@ -69,8 +69,12 @@ implementation
 
 uses
   SysUtils, Classes,
-  GL, GLExt,
-  {$IF DEFINED(LINUX)}
+  {$IFDEF USE_NANOGL}
+    nanoGL,
+  {$ELSE}
+    GL, GLExt,
+  {$ENDIF}
+  {$IF DEFINED(LINUX) OR DEFINED(ANDROID)}
     unixtype, linux
   {$ELSEIF DEFINED(WINDOWS)}
     Windows