Enable ARB, Radeon and Parhelia paths
This commit is contained in:
parent
465c6ba633
commit
5cde3fc523
1 changed files with 13 additions and 14 deletions
17
gl_common.c
17
gl_common.c
|
@ -380,7 +380,7 @@ void CheckVertexArrayRange(void)
|
|||
/*
|
||||
PA: if we have these we draw optimized
|
||||
*/
|
||||
/*
|
||||
|
||||
void CheckRadeonExtensions(void)
|
||||
{
|
||||
int supportedTmu;
|
||||
|
@ -451,7 +451,7 @@ void CheckARBFragmentExtensions(void)
|
|||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
void CheckAnisotropicExtension(void)
|
||||
{
|
||||
if (strstr(gl_extensions, "GL_EXT_texture_filter_anisotropic") &&
|
||||
|
@ -519,21 +519,20 @@ void GL_Init (void)
|
|||
|
||||
Con_Printf ("Checking diffuse bumpmap extensions\n");
|
||||
CheckDiffuseBumpMappingExtensions ();
|
||||
/*
|
||||
|
||||
Con_Printf ("Checking ARB extensions\n");
|
||||
CheckARBFragmentExtensions ();
|
||||
*/
|
||||
|
||||
if ( gl_cardtype != ARB )
|
||||
{
|
||||
Con_Printf ("Checking GeForce 1/2/4-MX\n");
|
||||
CheckSpecularBumpMappingExtensions ();
|
||||
Con_Printf ("Checking GeForce 3/4\n");
|
||||
CheckGeforce3Extensions ();
|
||||
/*
|
||||
Con_Printf ("Checking Radeon 8500+\n");
|
||||
CheckRadeonExtensions ();
|
||||
Con_Printf ("Checking Parhelia\n");
|
||||
CheckParheliaExtensions ();*/
|
||||
CheckParheliaExtensions ();
|
||||
}
|
||||
|
||||
Con_Printf ("Checking VAR\n");
|
||||
|
@ -561,15 +560,15 @@ void GL_Init (void)
|
|||
break;
|
||||
case RADEON:
|
||||
Con_Printf ("Using Radeon path.\n");
|
||||
Sys_Error("No Radeon path yet\n");
|
||||
BUMP_InitRadeon();
|
||||
break;
|
||||
case PARHELIA:
|
||||
Con_Printf ("Using Parhelia path.\n");
|
||||
Sys_Error("No Parhelia path yet\n");
|
||||
BUMP_InitParhelia();
|
||||
break;
|
||||
case ARB:
|
||||
Con_Printf ("Using ARB_fragment_program path.\n");
|
||||
Sys_Error("No ARB2 path yet\n");
|
||||
BUMP_InitARB();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue