Browse Source

`t' was not initialized (use `texture' instead?)

tags/unichrome-last-xinerama
Daniel Borca 20 years ago
parent
commit
b756990b84
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/main/texobj.c

+ 1
- 1
src/mesa/main/texobj.c View 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 *)

Loading…
Cancel
Save