# HG changeset patch # User egottlieb # Date 1281924218 14400 # Node ID 661cb2f7c22aae70e93e12e8740f287aa01b36ea # Parent f7cde99bf66a8e925f3eb0e7940d120a03304dc4 Removed useless debugging code. diff -r f7cde99bf66a -r 661cb2f7c22a src/video/win32/SDL_win32shape.c --- a/src/video/win32/SDL_win32shape.c Sun Aug 15 21:46:46 2010 -0400 +++ b/src/video/win32/SDL_win32shape.c Sun Aug 15 22:03:38 2010 -0400 @@ -46,15 +46,10 @@ void CombineRectRegions(SDL_ShapeTree* node,void* closure) { - char debug_str[200]; HRGN mask_region = *((HRGN*)closure),temp_region = NULL; if(node->kind == OpaqueShape) { //Win32 API regions exclude their outline, so we widen the region by one pixel in each direction to include the real outline. - /* sprintf_s(&debug_str[0],200,"x: %u y: %u, x+w: %u, y+h: %u\n", - node->data.shape.x,node->data.shape.y, - node->data.shape.x + node->data.shape.w,node->data.shape.y + node->data.shape.h);*/ - //OutputDebugStringA(debug_str); - temp_region = CreateRectRgn(node->data.shape.x - 1,node->data.shape.y - 1,node->data.shape.x + node->data.shape.w + 1,node->data.shape.y + node->data.shape.h + 1); + temp_region = CreateRectRgn(node->data.shape.x - 1,node->data.shape.y - 1,node->data.shape.x + node->data.shape.w,node->data.shape.y + node->data.shape.h); if(mask_region != NULL) { CombineRgn(mask_region,mask_region,temp_region,RGN_OR); DeleteObject(temp_region);