diff --git a/Qt/QtMain.h b/Qt/QtMain.h index 0e511c846c..f4f1b3c5c2 100644 --- a/Qt/QtMain.h +++ b/Qt/QtMain.h @@ -25,6 +25,7 @@ QTM_USE_NAMESPACE #include "base/timeutil.h" #include "file/zip_read.h" #include "gfx/gl_common.h" +#include "gfx_es2/gpu_features.h" #include "input/input_state.h" #include "input/keycodes.h" #include "thin3d/thin3d.h" @@ -43,6 +44,7 @@ void SimulateGamepad(); class QtDummyGraphicsContext : public DummyGraphicsContext { public: QtDummyGraphicsContext() { + CheckGLExtensions(); draw_ = Draw::T3DCreateGLContext(); SetGPUBackend(GPUBackend::OPENGL); bool success = draw_->CreatePresets(); diff --git a/ext/native/native.vcxproj b/ext/native/native.vcxproj index b8db0d2f53..9ccbc1e644 100644 --- a/ext/native/native.vcxproj +++ b/ext/native/native.vcxproj @@ -192,6 +192,7 @@ + diff --git a/ext/native/native.vcxproj.filters b/ext/native/native.vcxproj.filters index 175c41bf21..bec0f42cee 100644 --- a/ext/native/native.vcxproj.filters +++ b/ext/native/native.vcxproj.filters @@ -329,6 +329,9 @@ ui + + base +