From df83c790d9b42ceccbb7ce46de4ac8e66f7686ce Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Tue, 2 Feb 2021 07:08:31 -0500 Subject: [PATCH] Changed conditional direct include of openGL logic to be if QT_OPENGL_ES is defined. This is more correct than checking system arch. --- src/drivers/Qt/ConsoleViewerGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/Qt/ConsoleViewerGL.cpp b/src/drivers/Qt/ConsoleViewerGL.cpp index 636cadb7..335772da 100644 --- a/src/drivers/Qt/ConsoleViewerGL.cpp +++ b/src/drivers/Qt/ConsoleViewerGL.cpp @@ -28,7 +28,7 @@ #include #include -#if defined(__arm__) && defined(__linux__) +#if defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2) #include #endif