fixed a bad error string in ClientActiveTexture()
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 18 May 2001 22:10:49 +0000 (22:10 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 18 May 2001 22:10:49 +0000 (22:10 +0000)
src/mesa/main/texstate.c

index 321628e99caef1c03e346741f99e1f21244aa660..2a4a9a9f96d2bb4094b7e0ebab6d593d0b980974 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: texstate.c,v 1.49 2001/05/17 21:33:14 brianp Exp $ */
+/* $Id: texstate.c,v 1.50 2001/05/18 22:10:49 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -2032,7 +2032,7 @@ _mesa_ClientActiveTextureARB( GLenum target )
    ASSERT_OUTSIDE_BEGIN_END(ctx);
 
    if (texUnit > ctx->Const.MaxTextureUnits) {
-      _mesa_error(ctx, GL_INVALID_ENUM, "glActiveTextureARB(target)");
+      _mesa_error(ctx, GL_INVALID_ENUM, "glClientActiveTextureARB(target)");
       return;
    }