From 4e9a5a5360cef59008b25efe71a2cbb98b54a8be Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 27 May 2012 23:30:00 +0200 Subject: [PATCH] DOS retardations creep in. --- gfx/gl.c | 1 + gfx/gl_common.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index 43331205d1..348eed8538 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1309,3 +1309,4 @@ const video_driver_t video_gl = { gl_set_rotation, }; + diff --git a/gfx/gl_common.h b/gfx/gl_common.h index ad052cd28c..616cea7c32 100644 --- a/gfx/gl_common.h +++ b/gfx/gl_common.h @@ -107,6 +107,9 @@ struct gl_fbo_scale bool valid; }; +// DOS creeps into Win32, yay. +#undef near +#undef far struct gl_ortho { GLfloat left;