Mesa (master): mesa: fix incorrect error string in _mesa_BlendEquationiARB ()

Brian Paul brianp at kemper.freedesktop.org
Thu Oct 15 13:23:09 UTC 2015


Module: Mesa
Branch: master
Commit: d21e17f48f8e155918de9420378a3b233e4ca98c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d21e17f48f8e155918de9420378a3b233e4ca98c

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Oct 14 09:34:39 2015 -0600

mesa: fix incorrect error string in _mesa_BlendEquationiARB()

Reviewed-by: Eric Anholt <eric at anholt.net>

---

 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..a7b7c5b 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;
    }




More information about the mesa-commit mailing list