`t' was not initialized (use `texture' instead?)
authorDaniel Borca <dborca@users.sourceforge.net>
Tue, 21 Dec 2004 15:45:41 +0000 (15:45 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Tue, 21 Dec 2004 15:45:41 +0000 (15:45 +0000)
src/mesa/main/texobj.c

index 4c2fd1017ce51fa3242bfdcba082ffffbd302b7b..4bbd3486588300004551ec0483003d44f009cc36 100644 (file)
@@ -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 *)