mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-22 06:30:16 +00:00
update mask rects when no front process is found
This commit is contained in:
parent
6f453b6184
commit
bcbaecae12
@ -430,9 +430,7 @@ void update_display_mask(SDL_Window *window, int w, int h) {
|
||||
}
|
||||
|
||||
extern void update_window_mask_rects(SDL_Window * window, int h, const std::vector<SDL_Rect> &rects);
|
||||
if (has_front_process) {
|
||||
update_window_mask_rects(window, display_mask.h, mask_rects);
|
||||
}
|
||||
update_window_mask_rects(window, display_mask.h, mask_rects);
|
||||
}
|
||||
|
||||
void apply_display_mask(SDL_Surface * host_surface, SDL_Rect update_rect) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user