mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
radeon: Remove set-but-unused log2depth variable.
r100 doesn't support 3D GL_EXT_texture3D.
This commit is contained in:
parent
7cf799d472
commit
25fffa9364
1 changed files with 1 additions and 2 deletions
|
|
@ -1018,7 +1018,7 @@ static GLboolean radeon_validate_texgen( struct gl_context *ctx, GLuint unit )
|
|||
static GLboolean setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int unit)
|
||||
{
|
||||
const struct gl_texture_image *firstImage;
|
||||
GLint log2Width, log2Height, log2Depth, texelBytes;
|
||||
GLint log2Width, log2Height, texelBytes;
|
||||
|
||||
if ( t->bo ) {
|
||||
return GL_TRUE;
|
||||
|
|
@ -1033,7 +1033,6 @@ static GLboolean setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int
|
|||
|
||||
log2Width = firstImage->WidthLog2;
|
||||
log2Height = firstImage->HeightLog2;
|
||||
log2Depth = firstImage->DepthLog2;
|
||||
texelBytes = _mesa_get_format_bytes(firstImage->TexFormat);
|
||||
|
||||
if (!t->image_override) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue