summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-12-06 12:54:16 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-06 20:14:10 +0100
commite68642fe1003467f1483dd8ddb2528cd3136042e (patch)
treedca602bb464398412c853f90aed000eb7ad38dc1 /examples/opengl/hellowindow/hellowindow.h
parente838cf644fe482d0ff04f2a32f081bc4b6e30297 (diff)
Added multi-screen support to hellowindow example.
Change-Id: I025de342952bffeffa0705eb4cfcf869f32241cc Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r--examples/opengl/hellowindow/hellowindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h
index 82d275aa68..b257cef20f 100644
--- a/examples/opengl/hellowindow/hellowindow.h
+++ b/examples/opengl/hellowindow/hellowindow.h
@@ -54,7 +54,7 @@ class Renderer : public QObject
{
Q_OBJECT
public:
- Renderer(const QSurfaceFormat &format, Renderer *share = 0);
+ Renderer(const QSurfaceFormat &format, Renderer *share = 0, QScreen *screen = 0);
QSurfaceFormat format() const { return m_format; }