Fix typo.

This commit is contained in:
Michal Krol 2006-05-16 10:37:16 +00:00
parent 0b9d7e477a
commit bd4256acfd

View file

@ -49,7 +49,7 @@
(**x)._generic._unknown.Release ((struct gl2_unknown_intf **) (x))
static struct gl2_unknown_intf **
lookup_handle (GLcontext *ctx, GLhandleARB handle, enum gl2_uuid uuid, const char *function)
lookup_handle (GLcontext *ctx, GLhandleARB handle, enum gl2_uiid uiid, const char *function)
{
struct gl2_unknown_intf **unk;
@ -67,7 +67,7 @@ lookup_handle (GLcontext *ctx, GLhandleARB handle, enum gl2_uuid uuid, const cha
if (unk == NULL)
_mesa_error (ctx, GL_INVALID_VALUE, function);
else {
unk = (**unk).QueryInterface (unk, uuid);
unk = (**unk).QueryInterface (unk, uiid);
if (unk == NULL)
_mesa_error (ctx, GL_INVALID_OPERATION, function);
}