summaryrefslogtreecommitdiffstats
path: root/examples/opengl/cube/geometryengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/cube/geometryengine.h')
-rw-r--r--examples/opengl/cube/geometryengine.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/opengl/cube/geometryengine.h b/examples/opengl/cube/geometryengine.h
index 2716b05c2b..6a15c3ce03 100644
--- a/examples/opengl/cube/geometryengine.h
+++ b/examples/opengl/cube/geometryengine.h
@@ -41,8 +41,8 @@
#ifndef GEOMETRYENGINE_H
#define GEOMETRYENGINE_H
-#include <QtOpenGL/QGLFunctions>
-#include <QtOpenGL/QGLShaderProgram>
+#include <QGLFunctions>
+#include <QGLShaderProgram>
class GeometryEngine : protected QGLFunctions
{
@@ -51,14 +51,12 @@ public:
virtual ~GeometryEngine();
void init();
-
void drawCubeGeometry(QGLShaderProgram *program);
private:
void initCubeGeometry();
- GLuint *vboIds;
-
+ GLuint vboIds[2];
};
#endif // GEOMETRYENGINE_H