summaryrefslogtreecommitdiff
path: root/xc
diff options
context:
space:
mode:
authorbrianp <brianp>2001-05-17 22:40:44 +0000
committerbrianp <brianp>2001-05-17 22:40:44 +0000
commitb2ed7cd9496714aec0cdd958de890e9c1ddcf0ca (patch)
treeb22f0aab203fc0f33ce99bb48dd3fc7af11d0b09 /xc
parent8657f34d34485de4e271a31b5aad6060d68611b0 (diff)
fixed two GL error calls
Diffstat (limited to 'xc')
-rw-r--r--xc/extras/Mesa/src/texstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/extras/Mesa/src/texstate.c b/xc/extras/Mesa/src/texstate.c
index 6cfc8425e..a1eafa403 100644
--- a/xc/extras/Mesa/src/texstate.c
+++ b/xc/extras/Mesa/src/texstate.c
@@ -1640,7 +1640,7 @@ _mesa_ActiveTextureARB( GLenum target )
}
}
else {
- gl_error(ctx, GL_INVALID_OPERATION, "glActiveTextureARB(target)");
+ gl_error(ctx, GL_INVALID_ENUM, "glActiveTextureARB(target)");
}
}
@@ -1659,7 +1659,7 @@ _mesa_ClientActiveTextureARB( GLenum target )
ctx->Array.ActiveTexture = texUnit;
}
else {
- gl_error(ctx, GL_INVALID_OPERATION, "glActiveTextureARB(target)");
+ gl_error(ctx, GL_INVALID_ENUM, "glActiveTextureARB(target)");
}
}