diff options
author | Brian <[email protected]> | 2008-01-05 15:37:27 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-05 15:45:55 -0700 |
commit | 9f6022d0567dc1288888212d7128acc48795b306 (patch) | |
tree | 3eff497397a6ad58862d426e9cd63278921e8a57 /src/mesa/main/teximage.c | |
parent | 48aa35a8b28e2cd5dab994c2cc0d728275b9aad2 (diff) |
fix depth/1 typo in glTexImage3D proxy code
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 1bc52d220ab..7241cf61be3 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2,7 +2,7 @@ * Mesa 3-D graphics library * Version: 7.1 * - * 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"), @@ -2691,8 +2691,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); } |