diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 00:18:23 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 00:18:23 +0000 |
commit | e5a340bb808cf541171cc185a2682566c50bc245 (patch) | |
tree | cb1f480cdc404e710bf8605edcffda34a5339e91 | |
parent | f5b5f8584c0951c3d26e9cb088792d132b48c203 (diff) | |
download | chromium_src-e5a340bb808cf541171cc185a2682566c50bc245.zip chromium_src-e5a340bb808cf541171cc185a2682566c50bc245.tar.gz chromium_src-e5a340bb808cf541171cc185a2682566c50bc245.tar.bz2 |
Remove check for bound framebuffer for swapbuffers.
TEST=conformance tests don't crash.
BUG=none
Review URL: http://codereview.chromium.org/1697018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46018 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index b54c16c..39e9e20 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -3662,12 +3662,6 @@ error::Error GLES2DecoderImpl::HandleShaderBinary( error::Error GLES2DecoderImpl::HandleSwapBuffers( uint32 immediate_data_size, const gles2::SwapBuffers& c) { - // Check a client created frame buffer is not bound. TODO(apatrick): - // this error is overkill. It will require that the client recreate the - // context to continue. - if (bound_framebuffer_) - return error::kLostContext; - // If offscreen then don't actually SwapBuffers to the display. Just copy // the rendered frame to another frame buffer. if (offscreen_target_frame_buffer_.get()) { |