Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
index e02dfa5b2e4daa8de10207cca12bfcfed0929638..0016149ed2405c65efe0d5e3b1708f8bc0bb64b5 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
@@ -929,10 +929,10 @@ protected: |
SourceImageBitmap, |
}; |
- // Helper function for tex{Sub}Image2D to check if the input format/type/level/target/width/height/border/xoffset/yoffset are valid. |
+ // Helper function for tex{Sub}Image{2|3}D to check if the input format/type/level/target/width/height/depth/border/xoffset/yoffset/zoffset are valid. |
// Otherwise, it would return quickly without doing other work. |
bool validateTexFunc(const char* functionName, TexImageFunctionType, TexFuncValidationSourceType, GLenum target, GLint level, GLenum internalformat, GLsizei width, |
- GLsizei height, GLint border, GLenum format, GLenum type, GLint xoffset, GLint yoffset); |
+ GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLint xoffset, GLint yoffset, GLint zoffset); |
// Helper function to check input width and height for functions {copy, compressed}Tex{Sub}Image. |
// Generates GL error and returns false if width or height is invalid. |