mirror of https://github.com/encounter/SDL.git
Merge commit '0e1d19cf680fc51635b3c52a9afa33fe03881bb5' into main
This commit is contained in:
commit
491d594976
|
@ -81,7 +81,7 @@ SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitm
|
|||
if(SDL_MUSTLOCK(shape))
|
||||
SDL_LockSurface(shape);
|
||||
|
||||
SDL_memset(bitmap, 0, shape->h * bytes_per_scanline);
|
||||
SDL_memset(bitmap, 0, shape->h * bytes_per_scanline);
|
||||
|
||||
for(y = 0;y<shape->h;y++) {
|
||||
bitmap_scanline = bitmap + y * bytes_per_scanline;
|
||||
|
|
Loading…
Reference in New Issue