- fixed windows builds when OO_SHADERS is not defined.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3162 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
2dd40c216c
commit
fbeaed4ef8
@ -52,7 +52,7 @@ SOFTWARE.
|
||||
#import "NSThreadOOExtensions.h"
|
||||
|
||||
|
||||
/* OpenGL versino requiredment, currently 1.1 or later (basic stuff like
|
||||
/* OpenGL version required, currently 1.1 or later (basic stuff like
|
||||
glBindTexture(), glDrawArrays()). We probably have implicit requirements
|
||||
for later versions, but I don't feel like auditing.
|
||||
-- Ahruman
|
||||
@ -68,9 +68,9 @@ enum
|
||||
/* Define the function pointers for the OpenGL extensions used in the game
|
||||
(required for Windows only).
|
||||
*/
|
||||
static void OOBadOpenGLExtensionUsed(void) GCC_ATTR((noreturn, used));
|
||||
|
||||
#if OO_SHADERS
|
||||
static void OOBadOpenGLExtensionUsed(void) GCC_ATTR((noreturn, used));
|
||||
|
||||
PFNGLUSEPROGRAMOBJECTARBPROC glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)&OOBadOpenGLExtensionUsed;
|
||||
PFNGLGETUNIFORMLOCATIONARBPROC glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)&OOBadOpenGLExtensionUsed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user