# HG changeset patch # User Matti Hamalainen # Date 1526181248 -10800 # Node ID 43e18726e54da596ce09b134fcd18545f5c44f84 # Parent 48dcde220a2ed270c270049e87b93d302a701cbe Fix colours by creating a correctly ordered surface. diff -r 48dcde220a2e -r 43e18726e54d tools/ppl.c --- 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;