DDraceNetwork Docs
gles_class_defines.h
Go to the documentation of this file.
1#ifndef ENGINE_CLIENT_BACKEND_OPENGLES_GLES_CLASS_DEFINES_H
2#define ENGINE_CLIENT_BACKEND_OPENGLES_GLES_CLASS_DEFINES_H
3#undef ENGINE_CLIENT_BACKEND_OPENGLES_GLES_CLASS_DEFINES_H
4#endif
5
6#ifdef GLES_CLASS_DEFINES_DO_DEFINE
7#define CCommandProcessorFragment_OpenGL3_3 CCommandProcessorFragment_OpenGLES3
8#define CCommandProcessorFragment_OpenGL3 CCommandProcessorFragment_OpenGLES3Wrapper
9#define CCommandProcessorFragment_OpenGL2 CCommandProcessorFragment_OpenGLES2
10#define CCommandProcessorFragment_OpenGL CCommandProcessorFragment_OpenGLES
11
12#define CGLSL CGLSL_ES
13#define CGLSLProgram CGLSL_ESProgram
14#define CGLSLTWProgram CGLSL_ESTWProgram
15#define CGLSLTextProgram CGLSL_ESTextProgram
16#define CGLSLPrimitiveProgram CGLSL_ESPrimitiveProgram
17#define CGLSLPrimitiveExProgram CGLSL_ESPrimitiveExProgram
18#define CGLSLSpriteMultipleProgram CGLSL_ESSpriteMultipleProgram
19#define CGLSLQuadProgram CGLSL_ESQuadProgram
20#define CGLSLTileProgram CGLSL_ESTileProgram
21#else
22#undef CCommandProcessorFragment_OpenGL3_3
23#undef CCommandProcessorFragment_OpenGL3
24#undef CCommandProcessorFragment_OpenGL2
25#undef CCommandProcessorFragment_OpenGL
26
27#undef CGLSL
28#undef CGLSLProgram
29#undef CGLSLTWProgram
30#undef CGLSLTextProgram
31#undef CGLSLPrimitiveProgram
32#undef CGLSLPrimitiveExProgram
33#undef CGLSLSpriteMultipleProgram
34#undef CGLSLQuadProgram
35#undef CGLSLTileProgram
36#endif