This is related to https://code.google.com/p/webrtc/issues/detail?id=1341
BUG=1341 R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2225004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4761 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
e6ac163145
commit
fc10c5c97f
@ -64,7 +64,7 @@ VideoChannelNSOpenGL::~VideoChannelNSOpenGL()
|
|||||||
|
|
||||||
int VideoChannelNSOpenGL::ChangeContext(NSOpenGLContext *nsglContext)
|
int VideoChannelNSOpenGL::ChangeContext(NSOpenGLContext *nsglContext)
|
||||||
{
|
{
|
||||||
_owner->UnlockAGLCntx();
|
_owner->LockAGLCntx();
|
||||||
|
|
||||||
_nsglContext = nsglContext;
|
_nsglContext = nsglContext;
|
||||||
[_nsglContext makeCurrentContext];
|
[_nsglContext makeCurrentContext];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user