# HG changeset patch # User Matti Hamalainen # Date 1363364869 -7200 # Node ID e846eda89058e7d31a4727b1261b21673e166ebd # Parent e5603b03732bcd9e3ab3bf6b1cdd85dea2fd5833 (Re)Set palette when (re)initializing video - aka fs/window. diff -r e5603b03732b -r e846eda89058 3x666.c --- a/3x666.c Fri Mar 15 18:18:30 2013 +0200 +++ b/3x666.c Fri Mar 15 18:27:49 2013 +0200 @@ -106,6 +106,8 @@ dmError("Can't SDL_SetVideoMode(): %s\n", SDL_GetError()); return FALSE; } + + setpal(); return TRUE; }