mesa: fix error strings in shaderapi.c

The _mesa_-prefixed function names should not appear in GL error
messages.

Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Brian Paul 2015-01-02 16:56:12 -07:00
parent a6822e3135
commit 41dc2fee4e
1 changed files with 2 additions and 2 deletions

View File

@ -1672,7 +1672,7 @@ _mesa_ShaderBinary(GLint n, const GLuint* shaders, GLenum binaryformat,
(void) binaryformat;
(void) binary;
(void) length;
_mesa_error(ctx, GL_INVALID_OPERATION, __FUNCTION__);
_mesa_error(ctx, GL_INVALID_OPERATION, "glShaderBinary");
}
@ -1724,7 +1724,7 @@ _mesa_ProgramBinary(GLuint program, GLenum binaryFormat,
(void) binaryFormat;
(void) binary;
(void) length;
_mesa_error(ctx, GL_INVALID_OPERATION, __FUNCTION__);
_mesa_error(ctx, GL_INVALID_OPERATION, "glProgramBinary");
}