@@ 436,9 436,10 @@ pasteclip(Uint8 *clip, int id)
int
savebmp(void)
{
+ SDL_Rect rect = {0, 0, WIDTH * ZOOM, HEIGHT * ZOOM};
SDL_Surface *surface = SDL_GetWindowSurface(gWindow);
SDL_RenderReadPixels(gRenderer,
- NULL,
+ &rect,
SDL_PIXELFORMAT_ARGB8888,
surface->pixels,
surface->pitch);