GL3: Remove GL_EXT_vertex_weighting

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

@ -101,11 +101,6 @@ NEL_PFNGLMULTITEXCOORD4IVARBPROC nglMultiTexCoord4ivARB;
NEL_PFNGLMULTITEXCOORD4FVARBPROC nglMultiTexCoord4fvARB;
NEL_PFNGLMULTITEXCOORD4DVARBPROC nglMultiTexCoord4dvARB;
// VertexWeighting.
NEL_PFNGLVERTEXWEIGHTFEXTPROC nglVertexWeightfEXT;
NEL_PFNGLVERTEXWEIGHTFVEXTPROC nglVertexWeightfvEXT;
NEL_PFNGLVERTEXWEIGHTPOINTEREXTPROC nglVertexWeightPointerEXT;
// SecondaryColor extension
NEL_PFNGLSECONDARYCOLOR3BEXTPROC nglSecondaryColor3bEXT;
NEL_PFNGLSECONDARYCOLOR3BVEXTPROC nglSecondaryColor3bvEXT;
@ -524,19 +519,6 @@ static bool setupEXTTextureCompressionS3TC(const char *glext)
return true;
}
// *********************************
static bool setupEXTVertexWeighting(const char *glext)
{
H_AUTO_OGL(setupEXTVertexWeighting);
CHECK_EXT("GL_EXT_vertex_weighting");
CHECK_ADDRESS(NEL_PFNGLVERTEXWEIGHTFEXTPROC, glVertexWeightfEXT);
CHECK_ADDRESS(NEL_PFNGLVERTEXWEIGHTFVEXTPROC, glVertexWeightfvEXT);
CHECK_ADDRESS(NEL_PFNGLVERTEXWEIGHTPOINTEREXTPROC, glVertexWeightPointerEXT);
return true;
}
// *********************************
static bool setupEXTSeparateSpecularColor(const char *glext)
@ -905,9 +887,6 @@ void registerGlExtensions(CGlExtensions &ext)
// Check ARBMultisample
ext.ARBMultisample = setupARBMultisample(glext);
// Check if NVidia GL_EXT_vertex_weighting is available.
ext.EXTVertexWeighting= setupEXTVertexWeighting(glext);
// Check EXTSeparateSpecularColor.
ext.EXTSeparateSpecularColor= setupEXTSeparateSpecularColor(glext);

@ -49,7 +49,6 @@ struct CGlExtensions
uint NbTextureStages;
// Optional Extensions. (old)
bool EXTVertexWeighting;
bool EXTSeparateSpecularColor;
bool ARBTextureCubeMap;
bool NVTextureRectangle;
@ -76,7 +75,6 @@ public:
ARBMultiTexture= false;
NbTextureStages= 1;
EXTTextureCompressionS3TC= false;
EXTVertexWeighting= false;
EXTSeparateSpecularColor= false;
ARBTextureCubeMap= false;
EXTSecondaryColor= false;
@ -113,7 +111,6 @@ public:
result += NLMISC::toString(NbTextureStages);
result += "\n Misc: ";
result += EXTVertexWeighting ? "EXTVertexWeighting " : "";
result += EXTSeparateSpecularColor ? "EXTSeparateSpecularColor " : "";
result += EXTSecondaryColor ? "EXTSecondaryColor " : "";
result += EXTBlendColor ? "EXTBlendColor " : "";
@ -207,13 +204,6 @@ extern NEL_PFNGLMULTITEXCOORD4FVARBPROC nglMultiTexCoord4fvARB;
extern NEL_PFNGLMULTITEXCOORD4DVARBPROC nglMultiTexCoord4dvARB;
// VertexWeighting.
//==================
extern NEL_PFNGLVERTEXWEIGHTFEXTPROC nglVertexWeightfEXT;
extern NEL_PFNGLVERTEXWEIGHTFVEXTPROC nglVertexWeightfvEXT;
extern NEL_PFNGLVERTEXWEIGHTPOINTEREXTPROC nglVertexWeightPointerEXT;
// ATI_envmap_bumpmap extension
extern PFNGLTEXBUMPPARAMETERIVATIPROC nglTexBumpParameterivATI;

Loading…
Cancel
Save