From b756990b8407d67a15cf7f63683d50dd7f9e3a4e Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Tue, 21 Dec 2004 15:45:41 +0000 Subject: [PATCH] `t' was not initialized (use `texture' instead?) --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 4c2fd1017ce..4bbd3486588 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -1025,7 +1025,7 @@ _mesa_IsTexture( GLuint texture ) GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, GL_FALSE); - if (!t) + if (!texture) return GL_FALSE; t = (struct gl_texture_object *) -- 2.30.2