diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-28 16:46:09 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-28 16:50:07 -0600 |
commit | 5f8ad807be54c433229121aa4417aede7a91f5d4 (patch) | |
tree | e12a56da0f2dfd9c0c692c5ad39fbd57886633f2 | |
parent | b6e165d6613a395d8f45a04901a08bd436eb52dd (diff) | |
download | mesa-5f8ad807be54c433229121aa4417aede7a91f5d4.tar.gz |
s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()
-rw-r--r-- | src/mesa/shader/shader_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index fa14b7d3b32..050766e5946 100644 --- a/src/mesa/shader/shader_api.c +++ b/src/mesa/shader/shader_api.c @@ -1006,11 +1006,11 @@ _mesa_get_uniformfv(GLcontext *ctx, GLuint program, GLint location, } } else { - _mesa_error(ctx, GL_INVALID_VALUE, "glGetUniformfv(location)"); + _mesa_error(ctx, GL_INVALID_OPERATION, "glGetUniformfv(location)"); } } else { - _mesa_error(ctx, GL_INVALID_VALUE, "glGetUniformfv(program)"); + _mesa_error(ctx, GL_INVALID_OPERATION, "glGetUniformfv(program)"); } } |