mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-18 16:32:32 +02:00
RWViewer: Use lower timer interval to stop event-lag
This commit is contained in:
parent
913a5d26b4
commit
2419fd1498
@ -54,7 +54,7 @@ std::vector<WidgetVertex> widgetVerts = {
|
||||
void ViewerWidget::initializeGL()
|
||||
{
|
||||
QGLWidget::initializeGL();
|
||||
timer.setInterval(16);
|
||||
timer.setInterval(25);
|
||||
connect(&timer, SIGNAL(timeout()), SLOT(updateGL()));
|
||||
timer.start();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user