diff --git a/lib/irrlicht/source/Irrlicht/COpenGLDriver.h b/lib/irrlicht/source/Irrlicht/COpenGLDriver.h index 4f7f14310..c556bd913 100644 --- a/lib/irrlicht/source/Irrlicht/COpenGLDriver.h +++ b/lib/irrlicht/source/Irrlicht/COpenGLDriver.h @@ -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); } diff --git a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.cpp b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.cpp index ae64ffd58..d79567fc3 100644 --- a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.cpp +++ b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.cpp @@ -94,7 +94,7 @@ COpenGLExtensionHandler::COpenGLExtensionHandler() : #endif // _IRR_OPENGL_USE_EXTPOINTER_ { for (u32 i=0; i