From cf998fb59f063c3bce4b1c052ca084d4840f3fcf Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 29 Dec 2006 15:16:47 +0000 Subject: [PATCH] Fixed missing define for GL_TEXTURE_RECTANGLE_ARB in OpenGL code. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1250 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/common/FrameBufferGL.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stella/src/common/FrameBufferGL.cxx b/stella/src/common/FrameBufferGL.cxx index 84c683fe9..8a4bf6fdf 100644 --- a/stella/src/common/FrameBufferGL.cxx +++ b/stella/src/common/FrameBufferGL.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: FrameBufferGL.cxx,v 1.79 2006-12-22 23:14:39 stephena Exp $ +// $Id: FrameBufferGL.cxx,v 1.80 2006-12-29 15:16:47 stephena Exp $ //============================================================================ #ifdef DISPLAY_OPENGL @@ -43,6 +43,9 @@ // These are not defined in the current version of SDL_opengl.h // Hopefully speed up OpenGL rendering in OSX +#ifndef GL_TEXTURE_RECTANGLE_ARB + #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 +#endif #ifndef GL_TEXTURE_STORAGE_HINT_APPLE #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC #endif