[macOS] Fix blank splash screen

(cherry picked from commit 30852d0237)
This commit is contained in:
bruvzg 2018-11-09 21:47:23 +02:00 committed by Rémi Verschelde
parent a110937a16
commit f666a5f34a
1 changed files with 1 additions and 0 deletions

View File

@ -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); ERR_FAIL_COND_V(window_object == nil, ERR_UNAVAILABLE);
window_view = [[GodotContentView alloc] init]; window_view = [[GodotContentView alloc] init];
[window_view setWantsLayer:TRUE];
float displayScale = 1.0; float displayScale = 1.0;
if (is_hidpi_allowed()) { if (is_hidpi_allowed()) {