Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
index 5ea30fd1c1b9789fa9c95a9f2eab2fe91a9941cb..5b56041be1ca940256b98074bb30806c82d1053e 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -2477,7 +2477,7 @@ void WebGLRenderingContextBase::framebufferTexture2D(ScriptState* scriptState, G |
default: |
webContext()->framebufferTexture2D(target, attachment, textarget, textureObject, level); |
} |
- framebufferBinding->setAttachmentForBoundFramebuffer(target, attachment, textarget, texture, level); |
+ framebufferBinding->setAttachmentForBoundFramebuffer(target, attachment, textarget, texture, level, 0); |
applyStencilTest(); |
preserveObjectWrapper(scriptState, framebufferBinding, "texture2d", attachment, texture); |
} |