projects
/
profile
/
ivi
/
qtwayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735902e
)
examples/qwidget-compositor: don't use GL if disabled
author
Corentin Chary
<corentin.chary@gmail.com>
Thu, 19 May 2011 08:14:25 +0000
(10:14 +0200)
committer
Samuel Rødal
<samuel.rodal@nokia.com>
Thu, 19 May 2011 08:14:25 +0000
(10:14 +0200)
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Merge-request: 2
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
examples/qwidget-compositor/main.cpp
patch
|
blob
|
history
diff --git
a/examples/qwidget-compositor/main.cpp
b/examples/qwidget-compositor/main.cpp
index
861139b
..
0f825c5
100644
(file)
--- a/
examples/qwidget-compositor/main.cpp
+++ b/
examples/qwidget-compositor/main.cpp
@@
-70,9
+70,11
@@
public:
//make sure we get the window id and create the glcontext
//so that clients can successfully initialize egl
winId();
+#ifdef QT_COMPOSITOR_WAYLAND_GL
if (platformWindow()) {
platformWindow()->glContext();
}
+#endif
}
private slots: