diff options
Diffstat (limited to 'examples/3dstudioruntime2/simpleoffscreen/main.cpp')
-rw-r--r-- | examples/3dstudioruntime2/simpleoffscreen/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/3dstudioruntime2/simpleoffscreen/main.cpp b/examples/3dstudioruntime2/simpleoffscreen/main.cpp index 3b77362..68ab00e 100644 --- a/examples/3dstudioruntime2/simpleoffscreen/main.cpp +++ b/examples/3dstudioruntime2/simpleoffscreen/main.cpp @@ -105,6 +105,9 @@ int main(int argc, char *argv[]) qDebug("Rendered and saved frame %d to %s", frame, qPrintable(fn)); + // Keep events delivered on this (main) thread. + QCoreApplication::processEvents(); + // ### hack until QT3DS-1041 is in place QThread::msleep(10); } |