* Fix rare crash when switching renderers
* Abandon QPainter in hardware renderers in favour of OpenGL * Disable VSync in the application globally
This commit is contained in:
@@ -203,6 +203,7 @@ void RendererStack::switchRenderer(Renderer renderer) {
|
||||
current->setFocusProxy(this);
|
||||
addWidget(current.get());
|
||||
|
||||
this->setStyleSheet("background-color: black");
|
||||
for (auto& in_use : buffers_in_use)
|
||||
in_use.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user