]> git.lizzy.rs Git - irrlicht.git/commitdiff
Small Fixes
authornumzero <numzer0@yandex.ru>
Mon, 13 Mar 2023 15:33:58 +0000 (18:33 +0300)
committernumzero <numzer0@yandex.ru>
Mon, 13 Mar 2023 15:33:58 +0000 (18:33 +0300)
source/Irrlicht/Irrlicht.cpp
source/Irrlicht/OpenGL/Driver.cpp

index 50348e7f403d772796351d1dcaf6c5a5d9ecad53..ed6b0828fdc6af59caa6b328e856bc507cd38489 100644 (file)
@@ -118,6 +118,9 @@ namespace video
        {\r
                switch (driver) {\r
                        case EDT_NULL: return true;\r
+#ifdef ENABLE_OPENGL3\r
+                       case EDT_OPENGL3: return true;\r
+#endif\r
 #ifdef _IRR_COMPILE_WITH_OPENGL_\r
                        case EDT_OPENGL: return true;\r
 #endif\r
index 27ab1bad0513b358b916e1bd7e19ba9dd5f8e36e..9baefc29c97b55800023aa263cb591b550a0fd14 100644 (file)
@@ -5,6 +5,7 @@
 // For conditions of distribution and use, see copyright notice in Irrlicht.h\r
 \r
 #include "Driver.h"\r
+#include <cassert>\r
 #include "CNullDriver.h"\r
 #include "IContextManager.h"\r
 \r