diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 22:30:14 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 22:30:14 +0000 |
commit | f189b2527518a5a507eb764b2777a008e7528dcb (patch) | |
tree | 4ef970d5432e8c5622db14480e05dad4f75be2a0 /ppapi/tests/test_udp_socket_private_shared.cc | |
parent | 207ff6675717b341d3c78d305762cd6d7a9888e1 (diff) | |
download | chromium_src-f189b2527518a5a507eb764b2777a008e7528dcb.zip chromium_src-f189b2527518a5a507eb764b2777a008e7528dcb.tar.gz chromium_src-f189b2527518a5a507eb764b2777a008e7528dcb.tar.bz2 |
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
Diffstat (limited to 'ppapi/tests/test_udp_socket_private_shared.cc')
0 files changed, 0 insertions, 0 deletions