Flashing rects are no longer constrained to even-numbered pixels on the
y axis; fixes bug #255, from Nic git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@949 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1403,10 +1403,7 @@ SetFlashRect (PRECT pRect, FRAME f)
|
||||
flash_rect1 = *pRect;
|
||||
flash_rect1.corner.x += clip_r.corner.x;
|
||||
flash_rect1.corner.y += clip_r.corner.y;
|
||||
flash_rect1.extent.height += flash_rect.corner.y & 1;
|
||||
flash_rect1.corner.y &= ~1;
|
||||
create_flash = 1;
|
||||
|
||||
}
|
||||
|
||||
LockMutex (flash_mutex);
|
||||
|
||||
Reference in New Issue
Block a user