#ifndef __EFFEKSEERRENDERER_GL_BASE_PRE_H__ #define __EFFEKSEERRENDERER_GL_BASE_PRE_H__ #include #include #if defined(_WIN32) #include #endif #if defined(__EFFEKSEER_RENDERER_GLES2__) #if defined(__APPLE__) #include #include #else #include #include #endif #elif defined(__EFFEKSEER_RENDERER_GLES3__) #if defined(__APPLE__) #include #else #define GL_GLEXT_PROTOTYPES #include #endif #elif defined(__EFFEKSEER_RENDERER_GL2__) #if _WIN32 #include #elif defined(__APPLE__) #define GL_SILENCE_DEPRECATION #include #else #include #endif #else #if defined(_WIN32) #include #elif defined(__APPLE__) #define GL_SILENCE_DEPRECATION #include #else #define GL_GLEXT_PROTOTYPES #include #endif #endif #if _WIN32 #pragma comment(lib, "opengl32.lib") #endif namespace EffekseerRendererGL { class Renderer; enum class OpenGLDeviceType { OpenGL2, OpenGL3, OpenGLES2, OpenGLES3, }; } // namespace EffekseerRendererGL #endif // __EFFEKSEERRENDERER_GL_BASE_PRE_H__