aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-12-21 15:45:41 +0000
committerDaniel Borca <[email protected]>2004-12-21 15:45:41 +0000
commitb756990b8407d67a15cf7f63683d50dd7f9e3a4e (patch)
tree9c84d00c8bdfc789da5f14cee65bc6387bf25d2f /src/mesa/main/texobj.c
parent3ec0631e955cb79cf6009e391cd9b4f6a263b989 (diff)
`t' was not initialized (use `texture' instead?)
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
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 *)