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
+4 -1
View File
@@ -898,10 +898,13 @@ void Do_Win(void)
Fancy_Text_Print(TXT_HACKHACK, x, 110*RESFACTOR, &ColorRemaps[PCOLOR_RED], TBLACK, TPF_CENTER|TPF_VCR|TPF_USE_GRAD_PAL|TPF_DROPSHADOW);
#endif
CountDownTimer = TIMER_SECOND * 3;
while (Is_Speaking()) {};
while (Is_Speaking()) {
Device_Present();
};
Speak(VOX_ACCOMPLISHED);
while (CountDownTimer || Is_Speaking()) {
Call_Back();
Device_Present();
}
}