Commit a0cc43fb authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Set a size in qopenglwindow example


Use showMaximized(). Just calling show() without setting a size can result
in a zero-sized, invisible window on some platforms.

Change-Id: Ifa48258060e3d651c2fac3a1409a26a2c3db6bdb
Reviewed-by: default avatarRobin Burchell <robin.burchell@viroteck.net>
parent e3e4fe79
Branches
Tags
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -185,7 +185,7 @@ int main(int argc, char **argv)
fmt.setDepthBufferSize(24);
fmt.setStencilBufferSize(8);
window.setFormat(fmt);
window.show();
window.showMaximized();
return app.exec();
}
......
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