projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e401c1f
)
mesa: s/height/depth/ in texsubimage()
author
Brian Paul
<brianp@vmware.com>
Fri, 27 May 2011 01:25:44 +0000
(19:25 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 27 May 2011 01:25:44 +0000
(19:25 -0600)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37648
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 8fb54c693e065ab4b635443aac106e09e15bcc52..4ea9a483c92987293943b5395eab7b298166c9b1 100644
(file)
--- 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: