summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-10-19 06:01:42 -0700
committerPaul Berry <[email protected]>2012-10-23 10:24:39 -0700
commit893ddb068fcc74465f318582bebbee7e397067c4 (patch)
tree9ea5a329ea5143377826cf005b0bcce7cfc2c054 /src/mesa/vbo/vbo_save.h
parente7dd2e5213ce1049767d889286a0b7e919c7eefd (diff)
_mesa_create_exec_table: de-deprecate GetPointerv.
glGetPointerv was de-deprecated in GL 4.3, because GL 4.3 adds functionality from KHR_debug and ARB_debug_output, which require glGetPointerv. This patch modifies _mesa_create_exec_table() to populate glGetPointerv in the dispatch table for core contexts. Technically this is not in compliance with the spec--what we really ought to do for core contexts is expose glGetPointerv only when a GL 4.3 context is in use or one of the two extensions is present. However, it seems silly to go to that extra work, since the only client-visible effect would be for glGetPointerv to raise an INVALID_OPERATION error instead of an INVALID_ENUM error. Besides, the other functions set up by _mesa_create_exec_table() only depend on the API in use, not on the GL version or extensions supported. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save.h')
0 files changed, 0 insertions, 0 deletions