1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02: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()
{
QGLWidget::initializeGL();
timer.setInterval(16);
timer.setInterval(25);
connect(&timer, SIGNAL(timeout()), SLOT(updateGL()));
timer.start();