diff options
author | Paul Berry <stereotype441@gmail.com> | 2013-06-24 08:50:04 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-08-01 20:19:55 -0700 |
commit | 56dcc46f0e48943835cce5fda1d54ded0edbc8f2 (patch) | |
tree | 3dd0c0ee7272275540714d2dced6e078742e5c50 /src/mesa/main/shaderapi.c | |
parent | 37270715ff00cff3e549f35069a65e16c56b03be (diff) | |
download | external_mesa3d-56dcc46f0e48943835cce5fda1d54ded0edbc8f2.zip external_mesa3d-56dcc46f0e48943835cce5fda1d54ded0edbc8f2.tar.gz external_mesa3d-56dcc46f0e48943835cce5fda1d54ded0edbc8f2.tar.bz2 |
main: Fix geometry shader error messages (missing right paren)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index c349b0c..c3011f5 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -1638,7 +1638,7 @@ _mesa_ProgramParameteri(GLuint program, GLenum pname, GLint value) if (value < 1 || (unsigned) value > ctx->Const.MaxGeometryOutputVertices) { _mesa_error(ctx, GL_INVALID_VALUE, - "glProgramParameteri(GL_GEOMETRY_VERTICES_OUT_ARB=%d", + "glProgramParameteri(GL_GEOMETRY_VERTICES_OUT_ARB=%d)", value); return; } @@ -1658,7 +1658,7 @@ _mesa_ProgramParameteri(GLuint program, GLenum pname, GLint value) break; default: _mesa_error(ctx, GL_INVALID_VALUE, - "glProgramParameteri(geometry input type = %s", + "glProgramParameteri(geometry input type = %s)", _mesa_lookup_enum_by_nr(value)); return; } @@ -1675,7 +1675,7 @@ _mesa_ProgramParameteri(GLuint program, GLenum pname, GLint value) break; default: _mesa_error(ctx, GL_INVALID_VALUE, - "glProgramParameteri(geometry output type = %s", + "glProgramParameteri(geometry output type = %s)", _mesa_lookup_enum_by_nr(value)); return; } |