summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogram.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-02 16:40:24 -0600
committerBrian Paul <[email protected]>2008-07-02 16:40:24 -0600
commit36a582641119671688a9f366e5bfa1ab3e8b9cbc (patch)
tree6acc254c4efd97b7c6b72da0995af79b7b4a4f48 /src/mesa/shader/arbprogram.h
parenta405d69063c8bae28bd5808e297070d65d90a421 (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/arbprogram.h')
0 files changed, 0 insertions, 0 deletions