Skip to content
Snippets Groups Projects
Commit 9508ca24 authored by Emil Velikov's avatar Emil Velikov
Browse files

mesa: cherry-pick the second half of commit 2aa71e94


Missed out by commit 39ae8573(mesa: Fix error validating args for
TexSubImage3D)

Reported-by: default avatarMatt Turner <mattst88@gmail.com>
Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 644bbf88
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment