projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf799d
)
radeon: Remove set-but-unused log2depth variable.
author
Eric Anholt
<eric@anholt.net>
Tue, 2 Aug 2011 20:39:43 +0000
(13:39 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 2 Aug 2011 20:51:14 +0000
(13:51 -0700)
r100 doesn't support 3D GL_EXT_texture3D.
src/mesa/drivers/dri/radeon/radeon_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_texstate.c
b/src/mesa/drivers/dri/radeon/radeon_texstate.c
index 9ba98e303a777b8ab63860ff945ee704724dd703..3abaa1504a435950f7117e8055b04a19063a43e0 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_texstate.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_texstate.c
@@
-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) {