mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-22 09:28:59 +00:00
avoid build error of SheepShaver
This commit is contained in:
parent
2f66b83bae
commit
15cb9068b7
@ -55,6 +55,7 @@ void disable_SDL2_macosx_menu_bar_keyboard_shortcuts() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef VIDEO_ROOTLESS
|
||||||
void make_window_transparent(SDL_Window * window)
|
void make_window_transparent(SDL_Window * window)
|
||||||
{
|
{
|
||||||
if (!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);
|
maskLayer.affineTransform = CGAffineTransformScale(CGAffineTransformMakeTranslation(0, h), 1.0, -1.0);
|
||||||
CGPathRelease(path);
|
CGPathRelease(path);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool is_fullscreen_osx(SDL_Window * window)
|
bool is_fullscreen_osx(SDL_Window * window)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user