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: google#1593
  • Loading branch information
ben-clayton committed Feb 7, 2018
1 parent be62659 commit 626ecb7
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 @@ -182,6 +182,7 @@
}

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

mBackbuffer = backbuffer;
mNeedsResolve = true;
Expand Down

0 comments on commit 626ecb7

Please sign in to comment.