mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-21 10:29:45 +02:00
Ddraw::Unlock no longer calls present, Device_Present needs to be manually called. This helps performance and visuals.
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user