freebsd-ports/games/r1q2/files/patch-ref_gl__gl_local.h
Alejandro Pulver c45c33c51b - Update to version 7187 [1].
- Remove FreeBSD 4.x support.

Reported by:	Steve Crowder <steve@crowders.org>
2007-04-23 22:22:51 +00:00

14 lines
393 B
C

--- 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);