@@ -40,6 +40,7 @@ public:
encoder->EndEncoding();
buffer->Commit();
+ //buffer->WaitUntilCompleted();
swapChain->Present();
}
else