diff src/video/win32/SDL_win32shape.c @ 4802:f14a8c05f5bb

Minor bugfixes. testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down.
author Eli Gottlieb <eligottlieb@gmail.com>
date Sun, 18 Jul 2010 23:05:40 -0400
parents e25ad8d97027
children c9eb95f29770
line wrap: on
line diff
--- a/src/video/win32/SDL_win32shape.c	Sun Jul 18 22:24:52 2010 -0400
+++ b/src/video/win32/SDL_win32shape.c	Sun Jul 18 23:05:40 2010 -0400
@@ -339,7 +339,7 @@
 		}
 	}
 	
-	window->shaper->usershownflag = window->flags & SDL_WINDOW_SHOWN;
+	window->shaper->usershownflag |= window->flags & SDL_WINDOW_SHOWN;
 	
 	return 0;
 }