diff options
author | Jeremy Huddleston <[email protected]> | 2011-06-14 12:34:49 -0700 |
---|---|---|
committer | Jeremy Huddleston <[email protected]> | 2011-06-14 18:22:01 -0700 |
commit | 1e16c34c5c86690b26739fbad82617768b1bd837 (patch) | |
tree | 7c9b5fc9d95f0d07ad2a74a1347deee13b33defd /src/glsl/ast.h | |
parent | 3751aa4592fb9e97823876ae1b434bf573d4639b (diff) |
glapi: _glapi_create_table_from_handle: Set missing pointers to NoOp rather than NULL
This change to _glapi_create_table_from_handle causes it to fill the dispatch
table with NoOps for unimplemented functionality. This matches what is done
in indirect_init.c and also allows us to enable logging (when built with
-DDEBUG and the MESA_DEBUG or LIBGL_DEBUG environment variables are set) to
catch cases where clients are trying to use these unimplemented extentions.
Additionally, this fixes some gcc -pedantic warnings.
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
0 files changed, 0 insertions, 0 deletions