mirror of https://github.com/bsnes-emu/bsnes.git
Merge pull request #250 from Sintendo/xcode11-opengl-fix
ruby/CGL: explicitly set current OpenGL context
This commit is contained in:
commit
ffee61a1b1
|
@ -145,6 +145,7 @@ private:
|
|||
[view setWantsBestResolutionOpenGLSurface:YES];
|
||||
[context addSubview:view];
|
||||
[openGLContext setView:view];
|
||||
[openGLContext makeCurrentContext];
|
||||
[[view window] makeFirstResponder:view];
|
||||
[view lockFocus];
|
||||
|
||||
|
|
Loading…
Reference in New Issue