mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-17 17:00:29 +02:00
Text print now calls Device_Present
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user