Commented out secondary color stuff due to nvidia header lameness
This commit is contained in:
parent
08545b98c6
commit
8e87ff0f3e
2 changed files with 6 additions and 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;
|
||||
|
||||
|
@ -524,6 +527,7 @@ int SetOGLVideoMode(int Width, int Height)
|
|||
} else {
|
||||
printf("GL_EXT_secondary_color not found...\n");
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
InitOpenGL();
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue