diff options
author | epenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 20:33:57 +0000 |
---|---|---|
committer | epenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 20:33:57 +0000 |
commit | 75c43f25a0c667a119f531d6e9362049d300139f (patch) | |
tree | 3ae2f9d9b5d9831432856f8be96a91ce8289b6e7 /chromeos | |
parent | b5a8a77686b6a725495bb82fceaa152b6e045205 (diff) | |
download | chromium_src-75c43f25a0c667a119f531d6e9362049d300139f.zip chromium_src-75c43f25a0c667a119f531d6e9362049d300139f.tar.gz chromium_src-75c43f25a0c667a119f531d6e9362049d300139f.tar.bz2 |
gpu: Remove redundant MakeCurrent in GLContextVirtual::MakeCurrent
Previously I misunderstood why we check if the decoder_ exists.
Only if it exists can we restore the state. If the decoder
doesn't exist and the context is already current,
we can just do nothing.
BUG=179250, 229643, 230896
Review URL: https://chromiumcodereview.appspot.com/14611013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos')
0 files changed, 0 insertions, 0 deletions