glapi: clean-up and simplify glapi_nop.c code
authorBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 16:35:12 +0000 (09:35 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 16:56:55 +0000 (09:56 -0700)
commite4f168a6f4911a096be97d2e83ef8ad9c5862ec0
tree6bc80c976146dd14234872a399095c5dd676fc7c
parent126aff18aaf7512dfe07e4fd43e21a2ecd3a96ff
glapi: clean-up and simplify glapi_nop.c code

Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func().
Just check the DEBUG env vars and call fprintf(stderr) with a warning
message instead.
src/mesa/glapi/glapi.h
src/mesa/glapi/glapi_nop.c
src/mesa/main/context.c