summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-01 06:39:05 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-01 06:39:05 (GMT)
commitf23ab31348bb6d3c6b7cb1ccf429ea932824e4e4 (patch)
tree045b08460ca24c1a6a7a4e4a307d6461aaae3f02 /examples
parent438c73d4e8ab4aeff7dcdc9a7185cce765d467f9 (diff)
downloadQt-f23ab31348bb6d3c6b7cb1ccf429ea932824e4e4.zip
Qt-f23ab31348bb6d3c6b7cb1ccf429ea932824e4e4.tar.gz
Qt-f23ab31348bb6d3c6b7cb1ccf429ea932824e4e4.tar.bz2
Compile fix for pbuffers under Linux
Reviewed-by: Sarah Smith
Diffstat (limited to 'examples')
-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 4f29b7d..1974f4f 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 991e8b9..c019abe 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
{