2222#include < set>
2323#include < stack>
2424#include < map>
25+ #include < unordered_map>
2526#include < queue>
2627#include < algorithm>
2728#include < limits>
@@ -116,7 +117,7 @@ extern int strcmpnocase(const char* s1, const char* s2);
116117 #pragma warning( disable : 4244 )
117118 #pragma warning( disable : 4267 )
118119 #pragma warning( disable : 4311 )
119- #pragma warning( disable : 4316 )
120+ #pragma warning( disable : 4316 )
120121 #pragma warning( disable : 4390 )
121122 #pragma warning( disable : 4800 )
122123 #pragma warning( disable : 4996 )
@@ -217,6 +218,9 @@ using std::va_list;
217218 extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArrays;
218219 extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArrays;
219220 extern PFNGLISVERTEXARRAYOESPROC glIsVertexArray;
221+ extern PFNGLMAPBUFFEROESPROC glMapBuffer;
222+ extern PFNGLUNMAPBUFFEROESPROC glUnmapBuffer;
223+ #define GL_WRITE_ONLY GL_WRITE_ONLY_OES
220224 #define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
221225 #define glClearDepth glClearDepthf
222226 #define OPENGL_ES
@@ -239,6 +243,9 @@ using std::va_list;
239243 #define glDeleteVertexArrays glDeleteVertexArraysOES
240244 #define glGenVertexArrays glGenVertexArraysOES
241245 #define glIsVertexArray glIsVertexArrayOES
246+ #define glMapBuffer glMapBufferOES
247+ #define glUnmapBuffer glUnmapBufferOES
248+ #define GL_WRITE_ONLY GL_WRITE_ONLY_OES
242249 #define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
243250 #define glClearDepth glClearDepthf
244251 #define OPENGL_ES
0 commit comments