[Mesa-dev] [PATCH 07/10] mesa: fix incorrect error string in _mesa_BlendEquationiARB()
Eric Anholt
eric at anholt.net
Wed Oct 14 17:54:04 PDT 2015
Brian Paul <brianp at vmware.com> writes:
> ---
> src/mesa/main/blend.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
> index d225f3d..f14949f 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, "glBlendFuncEquationi(buffer=%u)",
> buf);
> return;
The other strings in this function say "glBlendEquationi". I think you
meant that, instead?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151014/3d45573e/attachment.sig>
More information about the mesa-dev
mailing list