From 9632d549a6e85f92b16d2442aeeda94b2a11ed0d Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 1 Nov 2015 13:35:51 +0000 Subject: [PATCH] Save screenshots to /tmp. --- src/draw/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/draw.c b/src/draw/draw.c index 3aa54c6..cf48b61 100644 --- a/src/draw/draw.c +++ b/src/draw/draw.c @@ -199,7 +199,7 @@ void saveScreenshot(void) char filename[MAX_NAME_LENGTH]; SDL_Surface *sshot; - sprintf(filename, "/home/steve/temp/screenshots/%d.bmp", ++i); + sprintf(filename, "/tmp/tbftss/%d.bmp", ++i); sshot = SDL_CreateRGBSurface(0, SCREEN_WIDTH, SCREEN_HEIGHT, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000); SDL_RenderReadPixels(app.renderer, NULL, SDL_PIXELFORMAT_ARGB8888, sshot->pixels, sshot->pitch);