11 #ifndef __IGRAPHICS_HDR_INC__ 12 #define __IGRAPHICS_HDR_INC__ 24 #if defined IGRAPHICS_GLES2 26 #include <OpenGLES/ES2/gl.h> 28 #include <GLES2/gl2.h> 30 #elif defined IGRAPHICS_GLES3 32 #include <OpenGLES/ES3/gl.h> 34 #include <GLES3/gl3.h> 36 #elif defined IGRAPHICS_GL2 || defined IGRAPHICS_GL3 38 #include <glad/glad.h> 40 #if defined IGRAPHICS_GL2 41 #include <OpenGL/gl.h> 42 #elif defined IGRAPHICS_GL3 43 #include <OpenGL/gl3.h> 46 #include <OpenGL/gl.h> 51 #include "IGraphicsWin.h" 53 #include "IGraphicsMac.h" 55 #include "IGraphicsIOS.h" 56 #elif defined OS_LINUX 57 #include "IGraphicsLinux.h" 59 #include "IGraphicsWeb.h" 68 static float GetScaleForScreen(
int width,
int height) {
return 1.f; }
71 #endif // NO_IGRAPHICS 73 #endif //__IGRAPHICS_HDR_INC__