Shifted the palette change around.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@765 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-07 03:18:28 +00:00
parent 90e7206cb1
commit 666dc1efbe

View file

@ -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 ();