OGL32CTX: Always return true when a feature is queried

This commit is contained in:
Vincent Lejeune 2014-01-20 18:07:18 +01:00
parent f880d13175
commit 271a26eaf0
2 changed files with 1 additions and 3 deletions

View File

@ -142,8 +142,6 @@ namespace video
//! queries the features of the driver, returns true if feature is available
virtual bool queryFeature(E_VIDEO_DRIVER_FEATURE feature) const
{
if (feature == EVDF_FRAMEBUFFER_OBJECT)
return true;
return FeatureEnabled[feature] && COpenGLExtensionHandler::queryFeature(feature);
}

View File

@ -94,7 +94,7 @@ COpenGLExtensionHandler::COpenGLExtensionHandler() :
#endif // _IRR_OPENGL_USE_EXTPOINTER_
{
for (u32 i=0; i<IRR_OpenGL_Feature_Count; ++i)
FeatureAvailable[i]=false;
FeatureAvailable[i]=true;
DimAliasedLine[0]=1.f;
DimAliasedLine[1]=1.f;
DimAliasedPoint[0]=1.f;