summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-02 08:44:34 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-02 08:44:34 -0600
commite2556b7487cb383e285f6b21c5513edd8c5d37e6 (patch)
tree003e83d5ed780af96846b3d99d87ea19f930950e
parent85421351e65c45249b038214fe8d1ca6b0d69884 (diff)
remove unnecessary null check (bug 11814)
-rw-r--r--src/mesa/drivers/dri/r300/r300_texmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texmem.c b/src/mesa/drivers/dri/r300/r300_texmem.c
index 38f0da8b7c..723601ac4a 100644
--- a/src/mesa/drivers/dri/r300/r300_texmem.c
+++ b/src/mesa/drivers/dri/r300/r300_texmem.c
@@ -505,7 +505,7 @@ int r300UploadTexImages(r300ContextPtr rmesa, r300TexObjPtr t, GLuint face)
t->base.lastLevel);
}
- if (!t || t->base.totalSize == 0)
+ if (t->base.totalSize == 0)
return 0;
if (RADEON_DEBUG & DEBUG_SYNC) {