From 8e87ff0f3e5787ba93d615b1c27749b5f7d65abc Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Thu, 10 Jan 2002 02:53:02 +0000 Subject: [PATCH] Commented out secondary color stuff due to nvidia header lameness --- src/main.c | 4 ++++ src/opengl.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/main.c b/src/main.c index 82a35d9..e706169 100644 --- a/src/main.c +++ b/src/main.c @@ -68,9 +68,11 @@ static int WantCDRom = 1; static int WantJoystick = 1; #endif +#if 0 /* NVIDIA gl.h breaks this */ #if GL_EXT_secondary_color PFNGLSECONDARYCOLORPOINTEREXTPROC pglSecondaryColorPointerEXT; #endif +#endif /* ** */ @@ -509,6 +511,7 @@ int SetOGLVideoMode(int Width, int Height) /* printf("OpenGL Extensions: %s\n", ext); */ +#if 0 /* NVIDIA header problem */ #if GL_EXT_secondary_color pglSecondaryColorPointerEXT = NULL; @@ -524,6 +527,7 @@ int SetOGLVideoMode(int Width, int Height) } else { printf("GL_EXT_secondary_color not found...\n"); } +#endif #endif InitOpenGL(); diff --git a/src/opengl.c b/src/opengl.c index d799d18..8eea18c 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -55,9 +55,11 @@ static D3DTexture *CurrentlyBoundTexture = NULL; #define TA_MAXVERTICES 2048 #define TA_MAXTRIANGLES 2048 +#if 0 /* NVIDIA header problem */ #if GL_EXT_secondary_color extern PFNGLSECONDARYCOLORPOINTEREXTPROC pglSecondaryColorPointerEXT; #endif +#endif typedef struct VertexArray {