summaryrefslogtreecommitdiff
path: root/src/glw
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-01-03 23:24:13 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-01-03 23:24:13 -0500
commit2b218d94b51ce04467795c30d2426204986e3249 (patch)
tree7f8ce2cc4ac69f151c954fb85bbb8e61f4457ebd /src/glw
parentc3047e73f78b4f337a2f66acdc95133d61a2b535 (diff)
Only enable verbose NoOp dispatch if DEBUG is defined
By default we generate a function per GL entry point to warn if it's called without a context set. This is to allow the function to print it's name in the warning. By using a generic function that doesn't print the function name in the non-DEBUG case, we reduce libGL size from 320008 bytes to 283144 bytes (11%).
Diffstat (limited to 'src/glw')
0 files changed, 0 insertions, 0 deletions