From 22e4269c2929a08aa5d88eaadd2a452800be5e4f Mon Sep 17 00:00:00 2001 From: spacy51 Date: Mon, 31 Dec 2007 15:53:27 +0000 Subject: [PATCH] use magenta background in debug mode git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@253 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/Direct3D.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/win32/Direct3D.cpp b/src/win32/Direct3D.cpp index d2889cb7..b05b0733 100644 --- a/src/win32/Direct3D.cpp +++ b/src/win32/Direct3D.cpp @@ -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 } }