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:
sjlee@webrtc.org 2013-09-17 05:15:37 +00:00
parent e6ac163145
commit fc10c5c97f

View File

@ -64,7 +64,7 @@ VideoChannelNSOpenGL::~VideoChannelNSOpenGL()
int VideoChannelNSOpenGL::ChangeContext(NSOpenGLContext *nsglContext)
{
_owner->UnlockAGLCntx();
_owner->LockAGLCntx();
_nsglContext = nsglContext;
[_nsglContext makeCurrentContext];