mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 14:34:42 -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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user