From: Brian Paul Date: Wed, 14 Oct 2015 15:34:39 +0000 (-0600) Subject: mesa: fix incorrect error string in _mesa_BlendEquationiARB() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d21e17f48f8e155918de9420378a3b233e4ca98c;p=mesa.git mesa: fix incorrect error string in _mesa_BlendEquationiARB() Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index d225f3d171c..a7b7c5b7e8a 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -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; }