Browse Source

fix width/depth mix-up (bug 11577)

tags/mesa_7_1_rc1
Brian 18 years ago
parent
commit
7c4c82fc6d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/main/teximage.c

+ 1
- 1
src/mesa/main/teximage.c View File

@@ -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)" );

Loading…
Cancel
Save