projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8f774ff
)
Respect the default format from the scene graph adaptation layer
author
Gunnar Sletta
<gunnar.sletta@digia.com>
Fri, 1 Feb 2013 11:38:26 +0000 (12:38 +0100)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Tue, 5 Feb 2013 15:48:25 +0000 (16:48 +0100)
Change-Id: I080c25ed8b8cc8b743043b5aa348927749c1f0eb
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
tools/qmlscene/main.cpp
patch
|
blob
|
history
diff --git
a/tools/qmlscene/main.cpp
b/tools/qmlscene/main.cpp
index
090d173
..
1e7c6e1
100644
(file)
--- a/
tools/qmlscene/main.cpp
+++ b/
tools/qmlscene/main.cpp
@@
-501,7
+501,7
@@
int main(int argc, char ** argv)
}
if (window) {
- QSurfaceFormat surfaceFormat;
+ QSurfaceFormat surfaceFormat = window->requestedFormat();
if (options.multisample)
surfaceFormat.setSamples(16);
if (options.transparent) {