OGL32CTX: Always return true when a feature is queried
This commit is contained in:
parent
f880d13175
commit
271a26eaf0
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user