summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 21:56:25 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 21:56:25 +0000
commit15cc23fab91c3ebf560bd40edffaa628e1188769 (patch)
tree08e906cb4430c3726c24d9a422e6a786b11ea5bc /gpu
parent17eeb01fa689992efe65cad68f7dee938f5c5191 (diff)
downloadchromium_src-15cc23fab91c3ebf560bd40edffaa628e1188769.zip
chromium_src-15cc23fab91c3ebf560bd40edffaa628e1188769.tar.gz
chromium_src-15cc23fab91c3ebf560bd40edffaa628e1188769.tar.bz2
Fix GL State Restore functions
BUG=none TBR=apatrick@chromium.org Review URL: https://codereview.chromium.org/12326135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/context_state.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/context_state.cc b/gpu/command_buffer/service/context_state.cc
index 7eaaa17..152ac6e 100644
--- a/gpu/command_buffer/service/context_state.cc
+++ b/gpu/command_buffer/service/context_state.cc
@@ -151,8 +151,10 @@ void ContextState::RestoreState() const {
}
}
+ RestoreBufferBindings();
RestoreRenderbufferBindings();
RestoreProgramBindings();
+ RestoreGlobalState();
}
// Include the auto-generated part of this file. We split this because it means