mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Workaround render glitches on new MacBooks.
For unknown reason large windows have bad render glitches in High Sierra. Forcing of OpenGL composition (by adding a fake child QOpenGLWidget) fixes it.
This commit is contained in:
@@ -135,6 +135,9 @@ void MainWindow::updateWindowIcon() {
|
||||
}
|
||||
|
||||
void MainWindow::init() {
|
||||
Expects(!windowHandle());
|
||||
createWinId();
|
||||
|
||||
initHook();
|
||||
updateWindowIcon();
|
||||
|
||||
|
Reference in New Issue
Block a user