diff options
| author | hjk <qthjk@ovi.com> | 2012-12-19 11:27:10 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-28 20:44:55 +0100 |
| commit | 0136252cb2973824b7f97abad1d4c3a4d9301178 (patch) | |
| tree | 2e03b3946253216d6ce3a010d4155c36f3e834b7 /examples/opengl/cube/geometryengine.h | |
| parent | 4eac2c4728da85a5cdf91ec25170b3417f7deb68 (diff) | |
Polish code of some opengl examples
Change-Id: If24ae1845176fc525cf6a239a5079f4802f8df3f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'examples/opengl/cube/geometryengine.h')
| -rw-r--r-- | examples/opengl/cube/geometryengine.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/opengl/cube/geometryengine.h b/examples/opengl/cube/geometryengine.h index 2716b05c2b6..6a15c3ce03a 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 |
