From 68db2362830c2d9dd793c059ffbfd89fb536762e Mon Sep 17 00:00:00 2001 From: "mazda@chromium.org" Date: Mon, 2 Apr 2012 05:46:20 +0000 Subject: 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 --- content/common/gpu/client/gl_helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') 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 framebuffer_binder( -- cgit v1.1