[PATCH] Use window_visible helper function in vid_win.c

Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
Tyrann 2007-09-09 21:52:09 +09:30
parent a8b64f4992
commit d3b2d0df24

View File

@ -1790,7 +1790,7 @@ VID_SetPalette(unsigned char *palette)
palette_t pal[256];
HDC hdc;
if (!Minimized) {
if (window_visible()) {
palette_changed = true;
// make sure we have the static colors if we're the active app