use magenta background in debug mode

This commit is contained in:
spacy51 2007-12-31 15:53:27 +00:00
parent e612fae3c1
commit 8ed99a284f
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
}
}