summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-07-25 07:24:58 -0700
committerIan Romanick <[email protected]>2012-08-24 19:13:12 -0700
commita33f360e8f8138c5b37b5e33324283e764d0750c (patch)
tree4c9d0fb36a321f2fcc880da8deef1d632d5bf94b /src/mesa/main/texgen.c
parent229868edf7f4232a4d97867a2ccea12db4c8cf57 (diff)
mesa: Refactor element type checking into its own function
This consolidates the tests and makes the emitted error message consistent. v2: Rename _mesa_valid_element_type to valid_elements_type. Log the enum string instead of the hex value in error messages. Based on review comments from Brian Paul and Ken Graunke. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.c')
0 files changed, 0 insertions, 0 deletions