summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-07-02 17:08:09 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-02 17:08:09 -0600
commit088c42c5c3cb34bac98fce95e4f3d08642834112 (patch)
tree79eb9c11032998204df1cf174062c970985d05a8 /src/mesa/shader/slang
parent16caeeab4b495702b54963816ae45976b2563423 (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')
0 files changed, 0 insertions, 0 deletions