projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5eb25e
)
fix width/depth mix-up (bug 11577)
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 03:32:35 +0000
(21:32 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 03:33:05 +0000
(21:33 -0600)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 1656b228b9b2a37ff9f55d61c16b0868e5d3aa85..3420d8e2bafd675a6dfa5c4dd679ddf135dd97dc 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1476,7
+1476,7
@@
texture_error_check( GLcontext *ctx, GLenum target,
if (target == GL_PROXY_TEXTURE_1D || target == GL_TEXTURE_1D) {
proxy_target = GL_PROXY_TEXTURE_1D;
height = 1;
-
wid
th = 1;
+
dep
th = 1;
}
else {
_mesa_error( ctx, GL_INVALID_ENUM, "glTexImage1D(target)" );