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:
parent
a6822e3135
commit
41dc2fee4e
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue