From 666dc1efbec91665c599aeffcdf4b0afefb48367 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 7 Jan 2005 03:18:28 +0000 Subject: [PATCH] Shifted the palette change around. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@765 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/sw/vid_win2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/sw/vid_win2.c b/engine/sw/vid_win2.c index f2e16e2a8..a10457c07 100644 --- a/engine/sw/vid_win2.c +++ b/engine/sw/vid_win2.c @@ -881,7 +881,6 @@ qboolean SWVID_Init (rendererstate_t *info, unsigned char *palette) vid.colormap = host_colormap; SWimp_Init(global_hInstance, MainWndProc); - SWimp_SetPalette(palette); if (hwnd_dialog) DestroyWindow (hwnd_dialog); @@ -891,6 +890,7 @@ qboolean SWVID_Init (rendererstate_t *info, unsigned char *palette) Sys_Error("Failed to set video mode\n"); return false; } + SWimp_SetPalette(palette); S_Restart_f ();