| Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| index b469fd404e1cc4722b6625d87c81252bd79f791a..551fe7a08588bd2aed6bd0c557e0d136f6d55fb2 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| @@ -461,7 +461,7 @@ bool WebGL2RenderingContextBase::checkAndTranslateAttachments(const char* functi
|
| return true;
|
| }
|
|
|
| -bool WebGL2RenderingContextBase::canUseTexImageCanvasByGPU(GLint internalformat, GLenum type)
|
| +bool WebGL2RenderingContextBase::canUseTexImageByGPU(GLint internalformat, GLenum type)
|
| {
|
| switch (internalformat) {
|
| case GL_RGB565:
|
| @@ -473,7 +473,7 @@ bool WebGL2RenderingContextBase::canUseTexImageCanvasByGPU(GLint internalformat,
|
| default:
|
| break;
|
| }
|
| - return WebGLRenderingContextBase::canUseTexImageCanvasByGPU(internalformat, type);
|
| + return WebGLRenderingContextBase::canUseTexImageByGPU(internalformat, type);
|
| }
|
|
|
| void WebGL2RenderingContextBase::invalidateFramebuffer(GLenum target, const Vector<GLenum>& attachments)
|
|
|