]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/IrrlichtDevice.h
Restore isDriverSupported, but in a cpp file
[irrlicht.git] / include / IrrlichtDevice.h
index 07d4f9f823839a2e1a9ea3374064b21c5d350159..c6a19787859ee69ad3342effaba9348c5f0d751f 100644 (file)
@@ -14,6 +14,7 @@
 #include "ICursorControl.h"\r
 #include "ITimer.h"\r
 #include "IOSOperator.h"\r
+#include "IrrCompileConfig.h"\r
 \r
 namespace irr\r
 {\r
@@ -34,6 +35,7 @@ namespace irr
 \r
        namespace video {\r
                class IContextManager;\r
+               extern "C" IRRLICHT_API bool IRRCALLCONV isDriverSupported(E_DRIVER_TYPE driver);\r
        } // end namespace video\r
 \r
        //! The Irrlicht device. You can create it with createDevice() or createDeviceEx().\r
@@ -310,7 +312,7 @@ namespace irr
                for a configuration requested when creating the device. */\r
                static bool isDriverSupported(video::E_DRIVER_TYPE driver)\r
                {\r
-                       return true;\r
+                       return video::isDriverSupported(driver);\r
                }\r
        };\r
 \r