mesa: fix incorrect error string in _mesa_BlendEquationiARB()
authorBrian Paul <brianp@vmware.com>
Wed, 14 Oct 2015 15:34:39 +0000 (09:34 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 15 Oct 2015 13:21:07 +0000 (07:21 -0600)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/blend.c

index d225f3d171c8f2a4b28f8fbc54ffffc941da0a3b..a7b7c5b7e8ac28a46fde22cc9e9176c26d157f01 100644 (file)
@@ -407,7 +407,7 @@ _mesa_BlendEquationiARB(GLuint buf, GLenum mode)
                   buf, _mesa_enum_to_string(mode));
 
    if (buf >= ctx->Const.MaxDrawBuffers) {
-      _mesa_error(ctx, GL_INVALID_VALUE, "glBlendFuncSeparatei(buffer=%u)",
+      _mesa_error(ctx, GL_INVALID_VALUE, "glBlendEquationi(buffer=%u)",
                   buf);
       return;
    }