From d84dc18e134792392629c8822f8ec4f0fabc16ab Mon Sep 17 00:00:00 2001 From: numzero Date: Mon, 13 Mar 2023 18:38:47 +0300 Subject: [PATCH] Add OpenGL3 support to the autotests --- examples/AutomatedTest/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/AutomatedTest/main.cpp b/examples/AutomatedTest/main.cpp index 0141b2bb..6e9d646d 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; }