diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-05-17 22:41:47 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-05-17 22:41:47 +0000 |
commit | 101088e3a2e8f848e0700427426b9c30a35e1e45 (patch) | |
tree | 139bd103358ba771e2d87f1be9bc75988da288f8 | |
parent | caee8569cb89722eaebf07029dbcbd3651861001 (diff) |
fixed two GL error calls
-rw-r--r-- | src/mesa/main/texstate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index ea8d37b597..2185bb8801 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -1,4 +1,4 @@ -/* $Id: texstate.c,v 1.15.4.5 2001/05/04 17:26:08 brianp Exp $ */ +/* $Id: texstate.c,v 1.15.4.6 2001/05/17 22:41:47 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1641,7 +1641,7 @@ _mesa_ActiveTextureARB( GLenum target ) } } else { - gl_error(ctx, GL_INVALID_OPERATION, "glActiveTextureARB(target)"); + gl_error(ctx, GL_INVALID_ENUM, "glActiveTextureARB(target)"); } } @@ -1660,7 +1660,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)"); } } |