summaryrefslogtreecommitdiffstats
path: root/demos/qt3d/photobrowser3d/qatlas.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/qt3d/photobrowser3d/qatlas.h')
-rw-r--r--demos/qt3d/photobrowser3d/qatlas.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/qt3d/photobrowser3d/qatlas.h b/demos/qt3d/photobrowser3d/qatlas.h
index 693a63b4d..4c7c14a79 100644
--- a/demos/qt3d/photobrowser3d/qatlas.h
+++ b/demos/qt3d/photobrowser3d/qatlas.h
@@ -43,6 +43,7 @@
#define QATLAS_H
#include <QSize>
+#include <QtGui/QOpenGLFramebufferObject>
#include "qarray.h"
#include "qgeometrydata.h"
@@ -88,7 +89,7 @@ public:
private:
QSize m_size;
- QGLFramebufferObject *m_data;
+ QOpenGLFramebufferObject *m_data;
QGLFramebufferObjectSurface *m_renderTarget;
QAreaAllocator *m_allocator;
QGLTexture2D *m_tex;