diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-02 17:08:09 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-02 17:08:09 -0600 |
commit | 088c42c5c3cb34bac98fce95e4f3d08642834112 (patch) | |
tree | 79eb9c11032998204df1cf174062c970985d05a8 /src/mesa/shader/slang/slang_vartable.h | |
parent | 16caeeab4b495702b54963816ae45976b2563423 (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...
cherry-picked from master
Diffstat (limited to 'src/mesa/shader/slang/slang_vartable.h')
0 files changed, 0 insertions, 0 deletions