mirror of https://github.com/nzp-team/fteqw.git
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
|
@ -881,7 +881,6 @@ qboolean SWVID_Init (rendererstate_t *info, unsigned char *palette)
|
||||||
vid.colormap = host_colormap;
|
vid.colormap = host_colormap;
|
||||||
|
|
||||||
SWimp_Init(global_hInstance, MainWndProc);
|
SWimp_Init(global_hInstance, MainWndProc);
|
||||||
SWimp_SetPalette(palette);
|
|
||||||
|
|
||||||
if (hwnd_dialog)
|
if (hwnd_dialog)
|
||||||
DestroyWindow (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");
|
Sys_Error("Failed to set video mode\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
SWimp_SetPalette(palette);
|
||||||
|
|
||||||
S_Restart_f ();
|
S_Restart_f ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue