Module: Mesa Branch: 10.4 Commit: 9508ca24f15e61eb7266a4358dde2f76bce17c10 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9508ca24f15e61eb7266a4358dde2f76bce17c10
Author: Emil Velikov <[email protected]> Date: Fri Mar 6 18:52:38 2015 +0000 mesa: cherry-pick the second half of commit 2aa71e9485a Missed out by commit 39ae85732d2(mesa: Fix error validating args for TexSubImage3D) Reported-by: Matt Turner <[email protected]> Signed-off-by: Emil Velikov <[email protected]> --- src/mesa/main/teximage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 3c494be..a85bb94 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2498,7 +2498,7 @@ texsubimage_error_check(struct gl_context *ctx, GLuint dimensions, if (error_check_subtexture_dimensions(ctx, "glTexSubImage", dimensions, texImage, xoffset, yoffset, zoffset, - width, height, 1)) { + width, height, depth)) { return GL_TRUE; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
