summaryrefslogtreecommitdiff
path: root/games/r1q2/files/patch-ref_gl__gl_local.h
blob: 2680452523571d4fb50e512c2f4faae8a4c5e5e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);