mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Se deshabilita la sincronizaci?n vertical por defecto, para evitar que se
active por defecto si el usuario no lo ha hecho. (Corrige problema de consumo excesivo de CPU)
This commit is contained in:
parent
7ded7c90b7
commit
db44c6a780
@ -235,6 +235,11 @@ YACReaderFlowGL::YACReaderFlowGL(QWidget *parent,struct Preset p)
|
||||
loader->moveToThread(loaderThread);
|
||||
|
||||
loaderThread->start();*/
|
||||
|
||||
QGLFormat f = format();
|
||||
f.setSwapInterval(0);
|
||||
setFormat(f);
|
||||
|
||||
timerId = startTimer(16);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user