mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Data and Source v1.13 Mod High Resolution version from 2006-03-01
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@23 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-11
@@ -1,3 +1,4 @@
|
||||
// WANNE 2 <changed some lines>
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "JA2 All.h"
|
||||
#include "HelpScreen.h"
|
||||
@@ -727,17 +728,9 @@ void RenderHelpScreen()
|
||||
{
|
||||
gfHaveRenderedFirstFrameToSaveBuffer = TRUE;
|
||||
|
||||
// WANNE: an exception occurs, when i try to open the help screen in laptop mode, so i put a try-catch block
|
||||
// around this. I will fix that later.
|
||||
__try
|
||||
{
|
||||
//blit everything to the save buffer ( cause the save buffer can bleed through )
|
||||
BlitBufferToBuffer(guiRENDERBUFFER, guiSAVEBUFFER, gHelpScreen.usScreenLocX, gHelpScreen.usScreenLocY, (UINT16)(gHelpScreen.usScreenLocX+gHelpScreen.usScreenWidth), (UINT16)(gHelpScreen.usScreenLocY+gHelpScreen.usScreenHeight) );
|
||||
}
|
||||
__except(filter(GetExceptionCode(), GetExceptionInformation()))
|
||||
{
|
||||
}
|
||||
|
||||
//blit everything to the save buffer ( cause the save buffer can bleed through )
|
||||
BlitBufferToBuffer(guiRENDERBUFFER, guiSAVEBUFFER, gHelpScreen.usScreenLocX, gHelpScreen.usScreenLocY, (UINT16)(gHelpScreen.usScreenWidth), (UINT16)(gHelpScreen.usScreenHeight) );
|
||||
|
||||
UnmarkButtonsDirty( );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user