changeset 1559:43e18726e54d

Fix colours by creating a correctly ordered surface.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 13 May 2018 06:14:08 +0300
parents 48dcde220a2e
children 7a2337dcd1b3
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:04:11 2018 +0300
+++ b/tools/ppl.c	Sun May 13 06:14:08 2018 +0300
@@ -207,7 +207,7 @@
 
     if ((engine.screen = SDL_CreateRGBSurface(0,
         engine.optScrWidth, engine.optScrHeight,
-        32, 0xff000000, 0x00ff0000, 0x0000ff00, 0x000000ff)) == NULL)
+        32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000)) == NULL)
     {
         dmErrorMsg("Could not create SDL surface.\n");
         return FALSE;