diff options
author | numzero <numzer0@yandex.ru> | 2023-03-13 18:38:47 +0300 |
---|---|---|
committer | numzero <numzer0@yandex.ru> | 2023-03-13 18:38:47 +0300 |
commit | d84dc18e134792392629c8822f8ec4f0fabc16ab (patch) | |
tree | deedf26cdfe7783859fb81d0710194de00f0fcb6 | |
parent | ea0ca7f91755afc0876472242d38f4841c24d1d7 (diff) | |
download | irrlicht-d84dc18e134792392629c8822f8ec4f0fabc16ab.tar.xz |
Add OpenGL3 support to the autotests
-rw-r--r-- | examples/AutomatedTest/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/AutomatedTest/main.cpp b/examples/AutomatedTest/main.cpp index 0141b2b..6e9d646 100644 --- a/examples/AutomatedTest/main.cpp +++ b/examples/AutomatedTest/main.cpp @@ -20,6 +20,8 @@ static video::E_DRIVER_TYPE chooseDriver(core::stringc arg_) return video::EDT_OGLES2;
if (arg_ == "opengl")
return video::EDT_OPENGL;
+ if (arg_ == "opengl3")
+ return video::EDT_OPENGL3;
std::cerr << "Unknown driver type: " << arg_.c_str() << ". Trying OpenGL." << std::endl;
return video::EDT_OPENGL;
}
|