notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spu: save/restore decode_pos
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
gpuStdafx.h
diff --git
a/plugins/gpu-gles/gpuStdafx.h
b/plugins/gpu-gles/gpuStdafx.h
index
3a6a1c5
..
41051dc
100644
(file)
--- a/
plugins/gpu-gles/gpuStdafx.h
+++ b/
plugins/gpu-gles/gpuStdafx.h
@@
-82,10
+82,16
@@
extern "C" {
#define SHADETEXBIT(x) ((x>>24) & 0x1)
\r
#define SEMITRANSBIT(x) ((x>>25) & 0x1)
\r
\r
#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
#endif
\r
\r
#ifdef __cplusplus
\r