comparison 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
comparison
equal deleted inserted replaced
4801:506a9165491b 4802:f14a8c05f5bb
337 SDL_SetError("Could not allocate memory for shaped-window bitmap."); 337 SDL_SetError("Could not allocate memory for shaped-window bitmap.");
338 return -1; 338 return -1;
339 } 339 }
340 } 340 }
341 341
342 window->shaper->usershownflag = window->flags & SDL_WINDOW_SHOWN; 342 window->shaper->usershownflag |= window->flags & SDL_WINDOW_SHOWN;
343 343
344 return 0; 344 return 0;
345 } 345 }