From f666a5f34ab9a8b2c2a4566a3d8e610afac51f4c Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 9 Nov 2018 21:47:23 +0200 Subject: [PATCH] [macOS] Fix blank splash screen (cherry picked from commit 30852d023789aefcdbefcacb0c81332945d3dcee) --- platform/osx/os_osx.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index 16d92911977..20ebdc91f0f 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -1098,6 +1098,7 @@ Error OS_OSX::initialize(const VideoMode &p_desired, int p_video_driver, int p_a ERR_FAIL_COND_V(window_object == nil, ERR_UNAVAILABLE); window_view = [[GodotContentView alloc] init]; + [window_view setWantsLayer:TRUE]; float displayScale = 1.0; if (is_hidpi_allowed()) {