GL3: Remove GL_EXT_separate_specular_color

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
parent fce7aab22c
commit 441d3a66f5

@ -433,11 +433,6 @@ bool CDriverGL3::setupDisplay()
// Default delta camera pos.
_PZBCameraPos= CVector::Null;
// Be always in EXTSeparateSpecularColor.
if (_Extensions.EXTSeparateSpecularColor)
{
}
// Init VertexArrayRange according to supported extenstion.
_SlowUnlockVBHard= false;

@ -519,15 +519,6 @@ static bool setupEXTTextureCompressionS3TC(const char *glext)
return true;
}
// *********************************
static bool setupEXTSeparateSpecularColor(const char *glext)
{
H_AUTO_OGL(setupEXTSeparateSpecularColor);
CHECK_EXT("GL_EXT_separate_specular_color");
return true;
}
// *********************************
static bool setupARBTextureCubeMap(const char *glext)
{
@ -887,9 +878,6 @@ void registerGlExtensions(CGlExtensions &ext)
// Check ARBMultisample
ext.ARBMultisample = setupARBMultisample(glext);
// Check EXTSeparateSpecularColor.
ext.EXTSeparateSpecularColor= setupEXTSeparateSpecularColor(glext);
// Check for cube mapping
ext.ARBTextureCubeMap = setupARBTextureCubeMap(glext);

@ -49,7 +49,6 @@ struct CGlExtensions
uint NbTextureStages;
// Optional Extensions. (old)
bool EXTSeparateSpecularColor;
bool ARBTextureCubeMap;
bool NVTextureRectangle;
bool EXTTextureRectangle;
@ -75,7 +74,6 @@ public:
ARBMultiTexture= false;
NbTextureStages= 1;
EXTTextureCompressionS3TC= false;
EXTSeparateSpecularColor= false;
ARBTextureCubeMap= false;
EXTSecondaryColor= false;
WGLARBPBuffer= false;
@ -111,7 +109,6 @@ public:
result += NLMISC::toString(NbTextureStages);
result += "\n Misc: ";
result += EXTSeparateSpecularColor ? "EXTSeparateSpecularColor " : "";
result += EXTSecondaryColor ? "EXTSecondaryColor " : "";
result += EXTBlendColor ? "EXTBlendColor " : "";
result += ARBMultisample ? "ARBMultisample " : "";

Loading…
Cancel
Save