From 611fefb4c410d6a4b13f6b8a43cd6f1b2b06fb68 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Tue, 23 Sep 2025 00:42:52 +0200 Subject: [PATCH] Remove unused QOpenGLFunctions_3_2_Core include This fixes compilation when OpenGL ES is used instead. Ref https://doc.qt.io/qt-6/qopenglwidget.html#opengl-function-calls-headers-and-qopenglfunctions --- common/lc_context.cpp | 1 - common/lc_glextensions.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/common/lc_context.cpp b/common/lc_context.cpp index 07cfb6fc..295aa306 100644 --- a/common/lc_context.cpp +++ b/common/lc_context.cpp @@ -12,7 +12,6 @@ #include "lc_viewmanipulator.h" #include "lc_stringcache.h" #include "lc_partselectionwidget.h" -#include #ifdef LC_OPENGLES #define glEnableClientState(...) diff --git a/common/lc_glextensions.cpp b/common/lc_glextensions.cpp index 98cc0432..8559b6e1 100644 --- a/common/lc_glextensions.cpp +++ b/common/lc_glextensions.cpp @@ -1,6 +1,5 @@ #include "lc_global.h" #include "lc_glextensions.h" -#include bool gSupportsShaderObjects; bool gSupportsVertexBufferObject;