Browse Source

Fix typo.

tags/mesa-6_5-20060712
Michal Krol 19 years ago
parent
commit
bd4256acfd
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/mesa/shader/shaderobjects.c

+ 2
- 2
src/mesa/shader/shaderobjects.c 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);
}

Loading…
Cancel
Save