summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 05:46:20 +0000
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 05:46:20 +0000
commit68db2362830c2d9dd793c059ffbfd89fb536762e (patch)
tree1e41d8eb8d5760d35c0d7d4674fd53087fd61a3c /content
parenta10f72cf0d65bffd0f4c82e6dce9f04fcc741d1b (diff)
downloadchromium_src-68db2362830c2d9dd793c059ffbfd89fb536762e.zip
chromium_src-68db2362830c2d9dd793c059ffbfd89fb536762e.tar.gz
chromium_src-68db2362830c2d9dd793c059ffbfd89fb536762e.tar.bz2
Fix the bug of the thumbnailer using texture ID for Framebuffer.
BUG=none TEST=Manually checked that the error does not occur in GLES2Decoder any more. Review URL: http://codereview.chromium.org/9959056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/common/gpu/client/gl_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc
index f605068..7b1c540 100644
--- a/content/common/gpu/client/gl_helper.cc
+++ b/content/common/gpu/client/gl_helper.cc
@@ -287,7 +287,7 @@ bool GLHelper::CopyTextureToImpl::CopyTextureTo(WebKit::WebGLId src_texture,
const gfx::Size& src_size,
const gfx::Size& dst_size,
unsigned char* out) {
- ScopedFramebuffer dst_framebuffer(context_, context_->createTexture());
+ ScopedFramebuffer dst_framebuffer(context_, context_->createFramebuffer());
ScopedTexture dst_texture(context_, context_->createTexture());
{
ScopedFramebufferBinder<GL_DRAW_FRAMEBUFFER> framebuffer_binder(