diff options
-rw-r--r-- | src/mesa/shader/shaderobjects.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/shaderobjects.c b/src/mesa/shader/shaderobjects.c index 986cec6526d..3d315464530 100644 --- a/src/mesa/shader/shaderobjects.c +++ b/src/mesa/shader/shaderobjects.c @@ -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); } |