From 063fd01cf4ae8434f27805dc4009ceac0e3374d2 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Fri, 5 Jun 2020 09:27:55 -0700 Subject: [PATCH] Text print now calls Device_Present --- REDALERT/WIN32LIB/GBUFFER.H | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/REDALERT/WIN32LIB/GBUFFER.H b/REDALERT/WIN32LIB/GBUFFER.H index f4a8961..e6d7aa1 100644 --- a/REDALERT/WIN32LIB/GBUFFER.H +++ b/REDALERT/WIN32LIB/GBUFFER.H @@ -974,6 +974,8 @@ inline BOOL GraphicViewPortClass::Scale( GraphicViewPortClass &dest, char *remap * HISTORY: * * 01/17/1995 PWG : Created. * *=========================================================================*/ + +void Device_Present(void); inline unsigned long GraphicViewPortClass::Print(char const *str, int x, int y, int fcol, int bcol) { unsigned long return_code=0; @@ -981,6 +983,8 @@ inline unsigned long GraphicViewPortClass::Print(char const *str, int x, int y, return_code = (Buffer_Print(this, str, x, y, fcol, bcol)); } Unlock(); + + Device_Present(); return ( return_code ); }