diff options
author | Brian Paul <[email protected]> | 2011-05-26 19:25:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-05-26 19:25:44 -0600 |
commit | 4609e80288bacf19af99b0ed7656eef9bb280912 (patch) | |
tree | b62591d4751b7c65c1ac3c7fa9ddaad922b16911 /src | |
parent | e401c1f57fc0640f0eba32f91703b1c5383f2364 (diff) |
mesa: s/height/depth/ in texsubimage()
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37648
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 8fb54c693e0..4ea9a483c92 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2693,7 +2693,7 @@ texsubimage(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, format, type, texImage)) { /* error was recorded */ } - else if (width > 0 && height > 0 && height > 0) { + else if (width > 0 && height > 0 && depth > 0) { /* If we have a border, offset=-1 is legal. Bias by border width. */ switch (dims) { case 3: |