|
|
@@ -201,11 +201,12 @@ extern void printError(const char* format, ...);
|
|
|
extern PFNGLISVERTEXARRAYOESPROC glIsVertexArray;
|
|
|
#define glClearDepth glClearDepthf
|
|
|
#define OPENGL_ES
|
|
|
+ #define OPENGL_ES_PVR
|
|
|
#elif WIN32
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
- #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
|
|
|
- #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
|
|
|
- #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
|
|
|
+ #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
|
|
|
+ #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
|
|
|
+ #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
|
|
|
#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
|
|
|
#include <GL/glew.h>
|
|
|
#elif __APPLE__
|
|
|
@@ -219,6 +220,7 @@ extern void printError(const char* format, ...);
|
|
|
#define glIsVertexArray glIsVertexArrayOES
|
|
|
#define glClearDepth glClearDepthf
|
|
|
#define OPENGL_ES
|
|
|
+ #define OPENGL_ES_PVR
|
|
|
#elif TARGET_OS_MAC
|
|
|
#include <OpenGL/gl.h>
|
|
|
#include <OpenGL/glext.h>
|