1 | #ifndef ENGINE_CLIENT_BACKEND_OPENGLES_BACKEND_OPENGLES3_H |
---|---|
2 | #define ENGINE_CLIENT_BACKEND_OPENGLES_BACKEND_OPENGLES3_H |
3 | |
4 | #include <base/detect.h> |
5 | |
6 | #if defined(CONF_BACKEND_OPENGL_ES) || defined(CONF_BACKEND_OPENGL_ES3) |
7 | #include <engine/client/backend_sdl.h> |
8 | |
9 | #define GLES_CLASS_DEFINES_DO_DEFINE |
10 | #include "gles_class_defines.h" |
11 | #undef GLES_CLASS_DEFINES_DO_DEFINE |
12 | |
13 | #define BACKEND_AS_OPENGL_ES 1 |
14 | |
15 | #include <engine/client/backend/opengl/backend_opengl3.h> |
16 | |
17 | #undef BACKEND_AS_OPENGL_ES |
18 | |
19 | #include "gles_class_defines.h" |
20 | |
21 | #endif |
22 | |
23 | #endif |
24 |