small refactoring
This commit is contained in:
@@ -42,7 +42,6 @@ OpenGLWindow::OpenGLWindow(QWindow *parent)
|
||||
#endif
|
||||
format.setDepthBufferSize(24);
|
||||
format.setSamples(8);
|
||||
// format.setStencilBufferSize(8);
|
||||
setFormat(format);
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user