changeset 1564:d1e2f7a22fb8

Oops, 8 vs 32bits. Didn't seem to matter anyhow, though.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 13 May 2018 07:32:36 +0300
parents d863ef32b788
children 58aa34bb4f03
files tools/ppl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/ppl.c	Sun May 13 06:59:26 2018 +0300
+++ b/tools/ppl.c	Sun May 13 07:32:36 2018 +0300
@@ -207,7 +207,7 @@
 
     if ((engine.screen = SDL_CreateRGBSurfaceWithFormat(0,
         engine.optScrWidth, engine.optScrHeight,
-        8, SDL_PIXELFORMAT_RGBA32)) == NULL)
+        32, SDL_PIXELFORMAT_RGBA32)) == NULL)
     {
         dmErrorMsg("Could not create SDL surface.\n");
         return FALSE;