cdrom: change pause timing again
[pcsx_rearmed.git] / plugins / gpu-gles / gpuStdafx.h
index 3a6a1c5..41051dc 100644 (file)
@@ -82,10 +82,16 @@ extern "C" {
 #define SHADETEXBIT(x) ((x>>24) & 0x1)\r
 #define SEMITRANSBIT(x) ((x>>25) & 0x1)\r
 \r
-#ifndef _WINDOWS\r
-#ifndef GL_BGRA_EXT\r
-#define GL_BGRA_EXT GL_RGBA\r
-#endif\r
+#if 0\r
+#define glError() { \\r
+       GLenum err = glGetError(); \\r
+       while (err != GL_NO_ERROR) { \\r
+               printf("glError: %d caught at %s:%u\n", err, __FILE__, __LINE__); \\r
+               err = glGetError(); \\r
+       } \\r
+}\r
+#else\r
+#define glError() \r
 #endif\r
 \r
 #ifdef __cplusplus\r