mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 04:40:22 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue