mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-12-03 13:50:42 +00:00
[PATCH] Use window_visible helper function in vid_win.c
Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
parent
a8b64f4992
commit
d3b2d0df24
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user