diff options
author | Brian Paul <brianp@vmware.com> | 2009-02-28 10:58:57 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-02-28 11:17:26 -0700 |
commit | 4c4268dd31ce119d5d3db090adf0935bf3c27831 (patch) | |
tree | 987961a45ecf031d9affe28421de92c95f832800 /autogen.sh | |
parent | fe353787698153216e5fc68c63ad0a48e71d49bf (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 'autogen.sh')
0 files changed, 0 insertions, 0 deletions