(glsym) OSX/iOS don't define these - have them in for copy/paste purposes

in libretro codebases that reuse glsym
This commit is contained in:
twinaphex 2014-07-13 23:07:53 +02:00
parent fceda4f33b
commit f4ecb4151b

View File

@ -43,4 +43,16 @@
#include <GL/glext.h>
#endif
#ifndef GL_MAP_WRITE_BIT
#define GL_MAP_WRITE_BIT 0x0002
#endif
#ifndef GL_MAP_INVALIDATE_BUFFER_BIT
#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
#endif
#ifndef GL_RED_INTEGER
#define GL_RED_INTEGER 0x8D94
#endif
#endif