use magenta background in debug mode

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@253 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2007-12-31 15:53:27 +00:00
parent 360600e784
commit 22e4269c29
1 changed files with 4 additions and 0 deletions

View File

@ -314,7 +314,11 @@ bool Direct3DDisplay::initialize()
void Direct3DDisplay::clear()
{
if( pDevice ) {
#ifdef _DEBUG
pDevice->Clear( 0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0xFF,0x00,0xFF), 0.0f, 0 );
#else
pDevice->Clear( 0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0x00,0x00,0x00), 0.0f, 0 );
#endif
}
}