diff options
author | Brian <[email protected]> | 2008-01-05 15:37:11 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-05 15:44:51 -0700 |
commit | b77a354df36dbf9f8db670e69b326b0214fbfa99 (patch) | |
tree | f2523bcf325da09b00f38c97770d2e26d48fc121 /src | |
parent | 71d46beebf8ee8bde2ddd71ccc2c7a6a6caecd14 (diff) |
fix depth/1 typo in glTexImage3D proxy code
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/teximage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 532b02d2910..d857a4f3a49 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 7.0.1 + * Version: 7.0.3 * - * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -2554,8 +2554,8 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalFormat, } else { /* no error, set the tex image parameters */ - _mesa_init_teximage_fields(ctx, target, texImage, width, height, 1, - border, internalFormat); + _mesa_init_teximage_fields(ctx, target, texImage, width, height, + depth, border, internalFormat); texImage->TexFormat = (*ctx->Driver.ChooseTextureFormat)(ctx, internalFormat, format, type); } |