unix compile

This commit is contained in:
ZappoMan 2014-12-15 08:50:36 -08:00
parent 3de3540ebe
commit ca39c79df4
2 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,9 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QOpenGLBuffer, which includes an earlier version of OpenGL
#include <gpu/GPUConfig.h>
#include <cmath> #include <cmath>
#include <QNetworkReply> #include <QNetworkReply>
@ -17,9 +20,8 @@
#include <SharedUtil.h> #include <SharedUtil.h>
#include "TextureCache.h"
#include "GeometryCache.h" #include "GeometryCache.h"
#include "TextureCache.h"
GeometryCache* GeometryCache::getInstance() { GeometryCache* GeometryCache::getInstance() {
static GeometryCache instance; static GeometryCache instance;

View file

@ -10,6 +10,7 @@
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL
#include <gpu/GPUConfig.h>
#include <QEvent> #include <QEvent>
#include <QGLWidget> #include <QGLWidget>