fix compilation on older gcc (at least 4.8.3)
thanks to Hrvoje Senjan for bringing this up REVIEW: 123936
This commit is contained in:
parent
cc9a95df5d
commit
ff2590ac52
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ static void scheduleVboReInit()
|
|||
delete timer;
|
||||
timer = new QTimer(gs_debuggedScene);
|
||||
timer->setSingleShot(true);
|
||||
QObject::connect(timer, &QTimer::timeout, gs_debuggedScene, []() {
|
||||
QObject::connect(timer.data(), &QTimer::timeout, gs_debuggedScene, []() {
|
||||
GLVertexBuffer::cleanup();
|
||||
GLVertexBuffer::initStatic();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue