diff options
author | Brian <[email protected]> | 2007-07-12 21:32:35 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-12 21:33:05 -0600 |
commit | 7c4c82fc6d5301e27643868517aeb23fcb5c40e6 (patch) | |
tree | 0de1b977b2ecb0d57b0f2cc7e8d1d16cd5f631f0 | |
parent | f5eb25e9c7b09612766255f2e2059f3df2bf2095 (diff) |
fix width/depth mix-up (bug 11577)
-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 1656b228b9b..3420d8e2baf 100644 --- 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; - width = 1; + depth = 1; } else { _mesa_error( ctx, GL_INVALID_ENUM, "glTexImage1D(target)" ); |