]> git.cworth.org Git - apitrace/blobdiff - gui/loaderthread.cpp
Actually save the edited calls.
[apitrace] / gui / loaderthread.cpp
index f311fe0d3e33f52e19bfcc1c471d8666a809d953..03f0ccd0f68569983d7bc9b0ca362bae23ab8f70 100644 (file)
@@ -95,6 +95,10 @@ void LoaderThread::run()
     //  it's just a bunch of Delete calls for every object
     //  after the last SwapBuffers
     if (currentFrame) {
+        if (!frames.count()) {
+            calls.squeeze();
+            currentFrame->setCalls(calls, binaryDataSize);
+        }
         frames.append(currentFrame);
         currentFrame = 0;
     }