[Mesa-dev] [PATCH 07/10] mesa: fix incorrect error string in _mesa_BlendEquationiARB()
Brian Paul
brianp at vmware.com
Thu Oct 15 06:20:20 PDT 2015
On 10/14/2015 06:54 PM, Eric Anholt wrote:
> 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?
Yes, of course. My typo was worse than the original!
-Brian
More information about the mesa-dev
mailing list