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:
parent
913a5d26b4
commit
2419fd1498
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user