commit | 2360439b9c91245b50dc907fbd7100412e08a942 | [log] [tgz] |
---|---|---|
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Apr 24 18:38:28 2012 |
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Apr 24 18:38:28 2012 |
tree | ab882dd2992b289e93be412bfbf1028490df018b | |
parent | b03df4beffc4770f66e56cc84587ce93bc8967cd [diff] |
texture_image_transport: have a current context when we're releasing textures In some cases, the TextureImageTransportSurface may get destroyed when no context is current. When that's the case, glDeleteTextures becomes a noop and we leak them. BUG=123933 TEST=manual Review URL: http://codereview.chromium.org/10200012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133732 0039d316-1c4b-4281-b951-d872f2087c98