From 4e2c02c171a11d9fcc7890827590cc11e2c6922e Mon Sep 17 00:00:00 2001 From: Wanne Date: Mon, 29 Dec 2008 19:09:25 +0000 Subject: [PATCH] Bugfix: Replaced "StartFrameBufferRender()" with "SetFontDestBuffer()" in method "ErrorScreenHandle" (thx to Birdflu) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2464 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- jascreens.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jascreens.cpp b/jascreens.cpp index 16fab8efc..b7feb6daa 100644 --- a/jascreens.cpp +++ b/jascreens.cpp @@ -269,8 +269,13 @@ UINT32 ErrorScreenHandle(void) CHAR16 str[256]; #endif + // WANNE: Added SetFontDestBuffer and removed StartFrameBufferRender + // This is a fix from Birdflu. + // For quick setting of new video stuff / to be changed - StartFrameBufferRender( ); + //StartFrameBufferRender( ); + SetFontDestBuffer(FRAME_BUFFER,0,0,SCREEN_WIDTH,SCREEN_HEIGHT,FALSE ); + // Create string SetFont( LARGEFONT1 );