diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-03-13 21:25:11 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-03-13 21:25:11 +0000 |
commit | 5f6ac52bf5954f7e89d50669e96ac3104bc1e75d (patch) | |
tree | cae0a8edcecd3d585d26c5731932d5c072ba27ca | |
parent | 884b0d6eb2b8933623b7594302425c92854a92ca (diff) |
Remove ValidateRect on the rect we have just BitBlt
This doesn't seem to be useful.
-rw-r--r-- | src/wndproc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/wndproc.c b/src/wndproc.c index 37b9c6e..611ece8 100644 --- a/src/wndproc.c +++ b/src/wndproc.c @@ -400,14 +400,6 @@ UpdateImage(xcwm_window_t *window) 0, 0); ReleaseDC(hWnd,hdcUpdate); - // useful? - RECT damage; - damage.left = dmgRect->x; - damage.top = dmgRect->y; - damage.right = dmgRect->x + dmgRect->width; - damage.bottom = dmgRect->y + dmgRect->height; - ValidateRect(hWnd, &damage); - xcwm_image_destroy(image); } else |