Commit a51d867f authored by Gunnar Sletta's avatar Gunnar Sletta Committed by The Qt Project
Browse files

Respect the default format from the scene graph adaptation layer


Change-Id: I080c25ed8b8cc8b743043b5aa348927749c1f0eb
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
parent 8f774ffb
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -501,7 +501,7 @@ int main(int argc, char ** argv) ...@@ -501,7 +501,7 @@ int main(int argc, char ** argv)
} }
if (window) { if (window) {
QSurfaceFormat surfaceFormat; QSurfaceFormat surfaceFormat = window->requestedFormat();
if (options.multisample) if (options.multisample)
surfaceFormat.setSamples(16); surfaceFormat.setSamples(16);
if (options.transparent) { if (options.transparent) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment