Changed conditional direct include of openGL logic to be if QT_OPENGL_ES

is defined. This is more correct than checking system arch.
This commit is contained in:
mjbudd77 2021-02-02 07:08:31 -05:00
parent ab4cde7dbb
commit df83c790d9
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
#include <QScreen>
#include <QMouseEvent>
#if defined(__arm__) && defined(__linux__)
#if defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2)
#include <GL/gl.h>
#endif