diff options
author | Paul Berry <[email protected]> | 2013-12-16 12:58:55 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-12-17 12:31:35 -0800 |
commit | d9b55244fd56b5971b40fdadb262a25840197096 (patch) | |
tree | cd76e49c8857284982469da059e6fd582d8db1d9 /docs/sourcetree.html | |
parent | 188630dc13b52ce9c64166da9a9df6a644b1599c (diff) |
glsl: Don't return bad values from _mesa_shader_type_to_index.
This will avoid compiler warnings in the patch that follows. There
should be no user-visible effect because the change only affects the
behaviour when an invalid enum is passed to
_mesa_shader_type_to_index(), and that can only happen if there is a
bug elsewhere in Mesa.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'docs/sourcetree.html')
0 files changed, 0 insertions, 0 deletions