aboutsummaryrefslogtreecommitdiff
path: root/games/r1q2/files/patch-ref_gl__gl_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/r1q2/files/patch-ref_gl__gl_local.h')
-rw-r--r--games/r1q2/files/patch-ref_gl__gl_local.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/r1q2/files/patch-ref_gl__gl_local.h b/games/r1q2/files/patch-ref_gl__gl_local.h
new file mode 100644
index 000000000000..268045252357
--- /dev/null
+++ b/games/r1q2/files/patch-ref_gl__gl_local.h
@@ -0,0 +1,14 @@
+--- ref_gl/gl_local.h.orig Mon Apr 23 17:46:04 2007
++++ ref_gl/gl_local.h Mon Apr 23 18:59:06 2007
+@@ -138,6 +138,11 @@
+ #define VID_ERR_FULLSCREEN_FAILED 4
+ #define VID_ERR_INVALID_MODE 8
+
++typedef int rserr_t;
++
++#define rserr_ok VID_ERR_NONE
++#define rserr_invalid_mode VID_ERR_INVALID_MODE
++
+ #include "gl_model.h"
+
+ void GL_BeginRendering (int *x, int *y, int *width, int *height);