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:
parent
ab4cde7dbb
commit
df83c790d9
|
@ -28,7 +28,7 @@
|
||||||
#include <QScreen>
|
#include <QScreen>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
|
||||||
#if defined(__arm__) && defined(__linux__)
|
#if defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2)
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue