Small Fixes

This commit is contained in:
numzero 2023-03-13 18:33:58 +03:00
parent 82d1feb933
commit ea0ca7f917
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,9 @@ namespace video
{ {
switch (driver) { switch (driver) {
case EDT_NULL: return true; case EDT_NULL: return true;
#ifdef ENABLE_OPENGL3
case EDT_OPENGL3: return true;
#endif
#ifdef _IRR_COMPILE_WITH_OPENGL_ #ifdef _IRR_COMPILE_WITH_OPENGL_
case EDT_OPENGL: return true; case EDT_OPENGL: return true;
#endif #endif

View File

@ -5,6 +5,7 @@
// For conditions of distribution and use, see copyright notice in Irrlicht.h // For conditions of distribution and use, see copyright notice in Irrlicht.h
#include "Driver.h" #include "Driver.h"
#include <cassert>
#include "CNullDriver.h" #include "CNullDriver.h"
#include "IContextManager.h" #include "IContextManager.h"