summaryrefslogtreecommitdiff
path: root/examples/opengl
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-01 16:39:05 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-01 16:39:05 +1000
commitf23ab31348bb6d3c6b7cb1ccf429ea932824e4e4 (patch)
tree045b08460ca24c1a6a7a4e4a307d6461aaae3f02 /examples/opengl
parent438c73d4e8ab4aeff7dcdc9a7185cce765d467f9 (diff)
downloadqt4-tools-f23ab31348bb6d3c6b7cb1ccf429ea932824e4e4.tar.gz
Compile fix for pbuffers under Linux
Reviewed-by: Sarah Smith
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/pbuffers/cube.h2
-rw-r--r--examples/opengl/pbuffers/glwidget.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/pbuffers/cube.h b/examples/opengl/pbuffers/cube.h
index 4f29b7d664..1974f4fce8 100644
--- a/examples/opengl/pbuffers/cube.h
+++ b/examples/opengl/pbuffers/cube.h
@@ -42,7 +42,7 @@
#ifndef CUBE_H
#define CUBE_H
-#include <QtOpenGl/qgl.h>
+#include <QtOpenGL/qgl.h>
#include <QtCore/qvector.h>
#include <QtGui/qmatrix4x4.h>
#include <QtGui/qvector3d.h>
diff --git a/examples/opengl/pbuffers/glwidget.h b/examples/opengl/pbuffers/glwidget.h
index 991e8b9692..c019abef98 100644
--- a/examples/opengl/pbuffers/glwidget.h
+++ b/examples/opengl/pbuffers/glwidget.h
@@ -47,6 +47,7 @@
class Geometry;
class Cube;
class Tile;
+class QGLPixelBuffer;
class GLWidget : public QGLWidget
{