summaryrefslogtreecommitdiffstats
path: root/examples/opengl/pbuffers/main.cpp
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2009-10-01 05:49:32 (GMT)
committerSarah Smith <sarah.j.smith@nokia.com>2009-10-01 05:49:32 (GMT)
commit059d40d3f918f658041ec20ba04f9d010cfc0fa7 (patch)
tree35e5d01fdbfdd941495e7955e538954ce9a00ac4 /examples/opengl/pbuffers/main.cpp
parent5496fbd5f4e5f272ba4f8150c909206ad409fd1d (diff)
downloadQt-059d40d3f918f658041ec20ba04f9d010cfc0fa7.zip
Qt-059d40d3f918f658041ec20ba04f9d010cfc0fa7.tar.gz
Qt-059d40d3f918f658041ec20ba04f9d010cfc0fa7.tar.bz2
Remove display lists and refactor ready for ES/ES2 port
Display lists, and a few other features dont work in ES/ES2. Refaoctor to allow redo of lighting and other non-fixed-function pipeline features. Also use QAnimation* classes instead of timers, and correct a few minor bugs (flipped texture). Include new screenshot (old one manifested bug). Reviewed-by: Rhys Weatherley
Diffstat (limited to 'examples/opengl/pbuffers/main.cpp')
-rw-r--r--examples/opengl/pbuffers/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/pbuffers/main.cpp b/examples/opengl/pbuffers/main.cpp
index cb9e161..4efe9a8 100644
--- a/examples/opengl/pbuffers/main.cpp
+++ b/examples/opengl/pbuffers/main.cpp
@@ -41,6 +41,8 @@
#include <QtGui/QApplication>
#include <QtGui/QMessageBox>
+#include <QtOpenGL/QGLPixelBuffer>
+
#include "glwidget.h"
int main(int argc, char **argv)