diff options
-rw-r--r-- | src/mesa/main/texobj.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index f0bc447e33b..13267609614 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -380,10 +380,10 @@ _mesa_reference_texobj(struct gl_texture_object **ptr, * * \note For debug purposes only. */ -#if 0 static void incomplete(const struct gl_texture_object *t, const char *fmt, ...) { +#if 0 va_list args; char s[100]; @@ -392,10 +392,8 @@ incomplete(const struct gl_texture_object *t, const char *fmt, ...) va_end(args); printf("Texture Obj %d incomplete because: %s\n", t->Name, s); -} -#else -#define incomplete(t, why, ...) #endif +} /** |