summaryrefslogtreecommitdiff
path: root/src/mesa/main/shaders.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-06-30 12:13:50 +0100
committerKeith Whitwell <keithw@vmware.com>2009-06-30 12:13:59 +0100
commitaa688d1579776494640475f4a5b93f3d7fae4fcd (patch)
tree62caefd530d48247b81fec0342800cf43b4638b6 /src/mesa/main/shaders.c
parent8d24160a404b946e5eb21329117c7f128d93a4e2 (diff)
mesa: add debug printer for primitive name
Add a simple version of _mesa_lookup_enum_by_nr() which expects a primitive enum (GL_POINTS..GL_POLYGON). This avoids some annoying duplicates when looking up primitives, such as the GL_FALSE/GL_POINTS clash.
Diffstat (limited to 'src/mesa/main/shaders.c')
0 files changed, 0 insertions, 0 deletions