Text print now calls Device_Present

This commit is contained in:
Justin Marshall
2020-06-05 09:27:55 -07:00
parent 56b557727b
commit 063fd01cf4
+4
View File
@@ -974,6 +974,8 @@ inline BOOL GraphicViewPortClass::Scale( GraphicViewPortClass &dest, char *remap
* HISTORY: * * HISTORY: *
* 01/17/1995 PWG : Created. * * 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) inline unsigned long GraphicViewPortClass::Print(char const *str, int x, int y, int fcol, int bcol)
{ {
unsigned long return_code=0; 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)); return_code = (Buffer_Print(this, str, x, y, fcol, bcol));
} }
Unlock(); Unlock();
Device_Present();
return ( return_code ); return ( return_code );
} }