diff options
| -rw-r--r-- | src/main.c | 4 | ||||
| -rw-r--r-- | src/opengl.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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; @@ -525,6 +528,7 @@ int SetOGLVideoMode(int Width, int Height) 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 { |
