avoid build error of SheepShaver

This commit is contained in:
kanjitalk755 2020-01-07 11:37:04 +09:00
parent 2f66b83bae
commit 15cb9068b7

View File

@ -55,6 +55,7 @@ void disable_SDL2_macosx_menu_bar_keyboard_shortcuts() {
}
}
#ifdef VIDEO_ROOTLESS
void make_window_transparent(SDL_Window * window)
{
if (!window) {
@ -127,6 +128,7 @@ void update_window_mask_rects(SDL_Window * window, int h, const std::vector<SDL_
maskLayer.affineTransform = CGAffineTransformScale(CGAffineTransformMakeTranslation(0, h), 1.0, -1.0);
CGPathRelease(path);
}
#endif
bool is_fullscreen_osx(SDL_Window * window)
{