projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9927d7f
)
mesa: move declaration to prevent unused var warning
author
Brian Paul
<brianp@vmware.com>
Thu, 29 Oct 2009 13:54:44 +0000
(07:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 29 Oct 2009 13:54:44 +0000
(07:54 -0600)
src/mesa/main/texstore.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstore.c
b/src/mesa/main/texstore.c
index 7b449d03bea97b2c908acb1f07a01f128db512e3..6237511e9f96bd75293c5e7532190e6f7903e5ab 100644
(file)
--- a/
src/mesa/main/texstore.c
+++ b/
src/mesa/main/texstore.c
@@
-3108,8
+3108,8
@@
_mesa_texstore_null(TEXSTORE_PARAMS)
static StoreTexImageFunc
_mesa_get_texstore_func(gl_format format)
{
- GLuint i;
#ifdef DEBUG
+ GLuint i;
for (i = 0; i < MESA_FORMAT_COUNT; i++) {
ASSERT(texstore_funcs[i].Name == i);
}