diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-02 16:40:24 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-02 16:40:24 -0600 |
commit | 36a582641119671688a9f366e5bfa1ab3e8b9cbc (patch) | |
tree | 6acc254c4efd97b7c6b72da0995af79b7b4a4f48 /src/mesa/shader/slang/slang_link.c | |
parent | a405d69063c8bae28bd5808e297070d65d90a421 (diff) |
mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE
or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a
'program' or is a totally unknown ID.
There might be other cases to fix...
Diffstat (limited to 'src/mesa/shader/slang/slang_link.c')
0 files changed, 0 insertions, 0 deletions