aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_texmem.c
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2008-06-06 21:13:12 +0200
committerNicolai Haehnle <[email protected]>2008-06-06 21:34:34 +0200
commit665605234d2aed2baa22fa621fa02478b2c08a4d (patch)
tree5e628f70333e32e18d2eed68c07d4a6ca5b6f45f /src/mesa/drivers/dri/r300/r300_texmem.c
parent0b72fada6aa3e15cee62c806057ebf986f34433d (diff)
r300: Remove unused variable r300_tex_obj::dirty_state and related defines
This variable was only ever written to, but nobody used its value.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texmem.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_texmem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texmem.c b/src/mesa/drivers/dri/r300/r300_texmem.c
index 723601ac4a6..e0fda86ac8b 100644
--- a/src/mesa/drivers/dri/r300/r300_texmem.c
+++ b/src/mesa/drivers/dri/r300/r300_texmem.c
@@ -534,10 +534,6 @@ int r300UploadTexImages(r300ContextPtr rmesa, r300TexObjPtr t, GLuint face)
/* hope it's safe to add that here... */
t->offset |= t->tile_bits;
}
-
- /* Mark this texobj as dirty on all units:
- */
- t->dirty_state = TEX_ALL;
}
/* Let the world know we've used this memory recently.