mesa: move declaration to prevent unused var warning

This commit is contained in:
Brian Paul 2009-10-29 07:54:44 -06:00
parent 9927d7f31c
commit 1f1bfe8cb5

View file

@ -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);
}