summaryrefslogtreecommitdiff
path: root/src/mesa/main/fog.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-28 10:58:57 -0700
committerBrian Paul <brianp@vmware.com>2009-02-28 11:17:26 -0700
commit4c4268dd31ce119d5d3db090adf0935bf3c27831 (patch)
tree987961a45ecf031d9affe28421de92c95f832800 /src/mesa/main/fog.h
parentfe353787698153216e5fc68c63ad0a48e71d49bf (diff)
mesa: convert some #defines to enums
This makes debugging with gdb a bit easier. Ex: (gdb) p ctx->DrawBuffer.Attachment[BUFFER_STENCIL] Note however that gdb only seems to recognize enum types that are actually used to declare a variable somewhere. For example, gl_buffer_index isn't used to declare any vars so it's invisible to gdb. Work around this by adding a dummy function in context.c that declares some vars with these new types.
Diffstat (limited to 'src/mesa/main/fog.h')
0 files changed, 0 insertions, 0 deletions