Moving mac specific include at the correct place

This commit is contained in:
Samuel Gateau 2019-07-03 01:00:52 -07:00
parent 2c412808e7
commit a1968bd9d0

View file

@ -25,6 +25,8 @@
#include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>
#include <ApplicationServices/ApplicationServices.h> #include <ApplicationServices/ApplicationServices.h>
#include <QSysInfo> #include <QSysInfo>
#include <OpenGL/OpenGL.h>
#endif #endif
using namespace platform; using namespace platform;
@ -39,7 +41,6 @@ void MACOSInstance::enumerateCpus() {
_cpus.push_back(cpu); _cpus.push_back(cpu);
} }
#include <OpenGL/OpenGL.h>
void MACOSInstance::enumerateGpus() { void MACOSInstance::enumerateGpus() {
#ifdef Q_OS_MAC #ifdef Q_OS_MAC