ecere/gfx/newFonts: Standardized on _GLES for ES 1.1 and _GLES2 for ES 2.0
[sdk] / ecere / src / gfx / newFonts / textureManager.ec
index d485be9..96676ff 100644 (file)
@@ -3,9 +3,7 @@ import "instance"
 #include <stdio.h>
 #include <math.h>
 
-#if defined(_GLES)
-   #define ES1_1
-#else
+#if !defined(_GLES)
    #define SHADERS
 #endif
 
@@ -18,7 +16,9 @@ import "instance"
 #endif
 
 #if defined(__EMSCRIPTEN__)
-   #define ES2
+#if !defined(_GLES2)
+   #define _GLES2
+#endif
    #include <GLES2/gl2.h>
 #endif