From 1f697082aba0d859e4685158ff93711d35cdbe49 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 7 Feb 2018 00:12:38 +0000 Subject: [PATCH] gapir: Fix osx crash on High Sierra. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This one liner magically fixes an assert deep in the depths of the macOS framework. Don’t ask me why. Fixes: #1593 --- gapir/cc/osx/gles_renderer.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/gapir/cc/osx/gles_renderer.mm b/gapir/cc/osx/gles_renderer.mm index 62937f4d64..4a6f533fe8 100644 --- a/gapir/cc/osx/gles_renderer.mm +++ b/gapir/cc/osx/gles_renderer.mm @@ -176,6 +176,7 @@ } [mContext setView:[mWindow contentView]]; + [mWindow display]; mBackbuffer = backbuffer; mNeedsResolve = true;