add missing GL include needed on arm arch's (#316)
* add missing GL include needed on arm arch's On other arch's, including amd64, this gets pulled in via QOpenGLWidget. However, since it uses GL functions directly and GL.h doesn't get pulled in automatically, this is necessary on arm. * Add preprocessor arch checks for linux arm Co-authored-by: mjbudd77 <44712797+mjbudd77@users.noreply.github.com>
This commit is contained in:
parent
663e357553
commit
ab4cde7dbb
|
@ -28,6 +28,10 @@
|
|||
#include <QScreen>
|
||||
#include <QMouseEvent>
|
||||
|
||||
#if defined(__arm__) && defined(__linux__)
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
#include "Qt/nes_shm.h"
|
||||
#include "Qt/fceuWrapper.h"
|
||||
#include "Qt/ConsoleViewerGL.h"
|
||||
|
|
Loading…
Reference in New Issue