Skip to content

Commit

Permalink
gapir: Fix osx crash on High Sierra.
Browse files Browse the repository at this point in the history
This one liner magically fixes an assert deep in the depths of the macOS
framework. Don’t ask me why.

Fixes: #1593
  • Loading branch information
ben-clayton committed Feb 13, 2018
1 parent 2f5a49d commit 1f69708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gapir/cc/osx/gles_renderer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
}

[mContext setView:[mWindow contentView]];
[mWindow display];

mBackbuffer = backbuffer;
mNeedsResolve = true;
Expand Down

0 comments on commit 1f69708

Please sign in to comment.