Commit 5b4583ab authored by schultz's avatar schultz

set multisample count at startup

parent 0f2cc1eb
...@@ -528,6 +528,8 @@ int main(int argc, char **argv) ...@@ -528,6 +528,8 @@ int main(int argc, char **argv)
if (OpenFlipper::Options::debug()) if (OpenFlipper::Options::debug())
format.setOption(format.options() | QSurfaceFormat::DebugContext); format.setOption(format.options() | QSurfaceFormat::DebugContext);
format.setSamples(OpenFlipper::Options::samples());
QSurfaceFormat::setDefaultFormat(format); QSurfaceFormat::setDefaultFormat(format);
......
Markdown is supported
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