mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
90e7206cb1
commit
666dc1efbe
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue