[buffer_storage] Temporary fix for Android/GLES3 just like how everything else is. Cleanup for this will be in a new branch.

This commit is contained in:
Ryan Houdek 2013-12-28 05:16:39 -06:00
parent 8fdcba0c06
commit 0b31fc8f52

View File

@ -30,10 +30,13 @@
#define GL_READ_WRITE 0x88BA #define GL_READ_WRITE 0x88BA
#define GL_SRC1_ALPHA 0 #define GL_SRC1_ALPHA 0
#define GL_BGRA GL_RGBA #define GL_BGRA GL_RGBA
#define GL_MAP_COHERENT_BIT 0
#define GL_MAP_PERSISTENT_BIT 0
#define glDrawElementsBaseVertex(...) #define glDrawElementsBaseVertex(...)
#define glDrawRangeElementsBaseVertex(...) #define glDrawRangeElementsBaseVertex(...)
#define glRenderbufferStorageMultisampleCoverageNV(...) #define glRenderbufferStorageMultisampleCoverageNV(...)
#define glViewportIndexedf(...) #define glViewportIndexedf(...)
#define glBufferStorage(...)
#endif #endif
#else #else
#define TEX2D GL_TEXTURE_RECTANGLE_ARB #define TEX2D GL_TEXTURE_RECTANGLE_ARB