summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-29 07:54:44 -0600
committerBrian Paul <[email protected]>2009-10-29 07:54:44 -0600
commit1f1bfe8cb5c74ee8708fb717a19d8389c9fadb80 (patch)
tree9b6b714df2dfdfbb5f94bf5c17daa758e686ede9 /src/mesa/main
parent9927d7f31c5c46c7b061cf8e13324ac4a837c4b7 (diff)
mesa: move declaration to prevent unused var warning
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 7b449d03bea..6237511e9f9 100644
--- 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);
}