1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

RWViewer: Use lower timer interval to stop event-lag

This commit is contained in:
Jannik Vogel 2016-08-08 17:02:54 +02:00
parent 913a5d26b4
commit 2419fd1498

View File

@ -54,7 +54,7 @@ std::vector<WidgetVertex> widgetVerts = {
void ViewerWidget::initializeGL() void ViewerWidget::initializeGL()
{ {
QGLWidget::initializeGL(); QGLWidget::initializeGL();
timer.setInterval(16); timer.setInterval(25);
connect(&timer, SIGNAL(timeout()), SLOT(updateGL())); connect(&timer, SIGNAL(timeout()), SLOT(updateGL()));
timer.start(); timer.start();