Ddraw::Unlock no longer calls present, Device_Present needs to be manually called. This helps performance and visuals.

This commit is contained in:
Justin Marshall
2020-06-05 08:24:07 -07:00
parent ca88e13be0
commit 56b557727b
13 changed files with 41 additions and 12 deletions
+2
View File
@@ -143,6 +143,8 @@ long VQA_Play(_VQAHandle* vqaHandle) {
Buffer_To_Page(0, 0, ScreenWidth, ScreenHeight, vqa_output_buffer, *vqaHandle->video_graphics_buffer);
vqaHandle->video_graphics_buffer->Unlock();
Device_Present();
if (clock() - curTime >= 30) {
currentFrame++;