projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8542135
)
remove unnecessary null check (bug 11814)
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 2 Aug 2007 14:44:34 +0000
(08:44 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 2 Aug 2007 14:44:34 +0000
(08:44 -0600)
src/mesa/drivers/dri/r300/r300_texmem.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_texmem.c
b/src/mesa/drivers/dri/r300/r300_texmem.c
index 38f0da8b7c07d3ea56fedafeec117fc9fb3fc53c..723601ac4a6bc1f1d7d3214f774b499c6fc0e88f 100644
(file)
--- 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) {