From 6b09b7cb9b852087a61ca012663f76da522758a5 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 12 Jul 2025 23:22:08 -0500 Subject: [PATCH] Specify OpenGL as the renderable type --- scwx-qt/source/scwx/qt/main/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scwx-qt/source/scwx/qt/main/main.cpp b/scwx-qt/source/scwx/qt/main/main.cpp index fbb716c9..3df56a0d 100644 --- a/scwx-qt/source/scwx/qt/main/main.cpp +++ b/scwx-qt/source/scwx/qt/main/main.cpp @@ -246,6 +246,7 @@ static void InitializeOpenGL() QSurfaceFormat surfaceFormat = QSurfaceFormat::defaultFormat(); surfaceFormat.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile); + surfaceFormat.setRenderableType(QSurfaceFormat::RenderableType::OpenGL); #if defined(__APPLE__) // For macOS, we must choose between OpenGL 4.1 Core and OpenGL 2.1