GLSurface::Resize implementations release the current context if they are current before resize.
This is because, if the newly allocated surface happens to have the same handle / address, a subsequent MakeCurrent will think that the surface has not changed and early out. Review URL: http://codereview.chromium.org/8869007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113677 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment