mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
mesa: Use correct glGetTransformFeedbackVarying name in error msg
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
0f5e2ce854
commit
8f3570efc7
1 changed files with 2 additions and 2 deletions
|
|
@ -622,14 +622,14 @@ _mesa_GetTransformFeedbackVarying(GLuint program, GLuint index,
|
|||
shProg = _mesa_lookup_shader_program(ctx, program);
|
||||
if (!shProg) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||
"glGetTransformFeedbackVaryings(program=%u)", program);
|
||||
"glGetTransformFeedbackVarying(program=%u)", program);
|
||||
return;
|
||||
}
|
||||
|
||||
linked_xfb_info = &shProg->LinkedTransformFeedback;
|
||||
if (index >= (GLuint) linked_xfb_info->NumVarying) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||
"glGetTransformFeedbackVaryings(index=%u)", index);
|
||||
"glGetTransformFeedbackVarying(index=%u)", index);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue