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;
|
static int WantJoystick = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0 /* NVIDIA gl.h breaks this */
|
||||||
#if GL_EXT_secondary_color
|
#if GL_EXT_secondary_color
|
||||||
PFNGLSECONDARYCOLORPOINTEREXTPROC pglSecondaryColorPointerEXT;
|
PFNGLSECONDARYCOLORPOINTEREXTPROC pglSecondaryColorPointerEXT;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ** */
|
/* ** */
|
||||||
|
|
||||||
|
@ -509,6 +511,7 @@ int SetOGLVideoMode(int Width, int Height)
|
||||||
/*
|
/*
|
||||||
printf("OpenGL Extensions: %s\n", ext);
|
printf("OpenGL Extensions: %s\n", ext);
|
||||||
*/
|
*/
|
||||||
|
#if 0 /* NVIDIA header problem */
|
||||||
#if GL_EXT_secondary_color
|
#if GL_EXT_secondary_color
|
||||||
pglSecondaryColorPointerEXT = NULL;
|
pglSecondaryColorPointerEXT = NULL;
|
||||||
|
|
||||||
|
@ -524,6 +527,7 @@ int SetOGLVideoMode(int Width, int Height)
|
||||||
} else {
|
} else {
|
||||||
printf("GL_EXT_secondary_color not found...\n");
|
printf("GL_EXT_secondary_color not found...\n");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
InitOpenGL();
|
InitOpenGL();
|
||||||
|
|
|
@ -55,9 +55,11 @@ static D3DTexture *CurrentlyBoundTexture = NULL;
|
||||||
#define TA_MAXVERTICES 2048
|
#define TA_MAXVERTICES 2048
|
||||||
#define TA_MAXTRIANGLES 2048
|
#define TA_MAXTRIANGLES 2048
|
||||||
|
|
||||||
|
#if 0 /* NVIDIA header problem */
|
||||||
#if GL_EXT_secondary_color
|
#if GL_EXT_secondary_color
|
||||||
extern PFNGLSECONDARYCOLORPOINTEREXTPROC pglSecondaryColorPointerEXT;
|
extern PFNGLSECONDARYCOLORPOINTEREXTPROC pglSecondaryColorPointerEXT;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct VertexArray
|
typedef struct VertexArray
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue