From: numzero Date: Mon, 13 Mar 2023 15:38:47 +0000 (+0300) Subject: Add OpenGL3 support to the autotests X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d84dc18e134792392629c8822f8ec4f0fabc16ab;p=irrlicht.git Add OpenGL3 support to the autotests --- 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; }