summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2006-05-16 10:37:16 +0000
committerMichal Krol <mjkrol@gmail.org>2006-05-16 10:37:16 +0000
commitbd4256acfde303f559d99090519d4217c19f787e (patch)
tree6d7c25011b2d556f914759c02050386f0002e54d /src/mesa/shader
parent0b9d7e477a5cdf1d7164bc4db56cbebbcff38fdc (diff)
Fix typo.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/shaderobjects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/shaderobjects.c b/src/mesa/shader/shaderobjects.c
index 986cec6526..3d31546453 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);
}