Use SetBkMode to prevent overlapping tile face/value pairs from

erasing each other.
This commit is contained in:
ehouse 2008-12-06 22:14:40 +00:00
parent 57197f8b2c
commit c82fb50055

View file

@ -1528,6 +1528,7 @@ drawInsidePaint( CEAppGlobals* globals, const RECT* invalR )
if ( !hdc ) {
logLastError( __func__ );
} else {
int oldMode = SetBkMode( hdc, TRANSPARENT );
HDC prevHDC = globals->hdc;
globals->hdc = hdc;
@ -1556,6 +1557,7 @@ drawInsidePaint( CEAppGlobals* globals, const RECT* invalR )
board_draw( globals->game.board );
(void)SetBkMode( hdc, oldMode );
globals->hdc = prevHDC;
}
} /* drawInsidePaint */