summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_loopback.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-10-23 14:48:39 -0700
committerPaul Berry <[email protected]>2012-11-01 11:26:07 -0700
commit8386088e3dc6fbd223dca7cc966b86f9ab0652b5 (patch)
treecb7e7cc691d4c88ebb102dcc70482d10833dc158 /src/mesa/main/api_loopback.h
parenta21116f87e44aabb6cb1f040dd557eac98144dd8 (diff)
dispatch: stop using _mesa_create_exec_table_es1() for GLES1.
This patch modifies context creation code for GLES1 to use _mesa_create_exec_table() (which is used for all other APIs) instead of the GLES1-specific _mesa_create_exec_table_es1(). There is a slight change in functionality. As a result of a mistake in the code generation of _mesa_create_exec_table_es1(), it does not include glFlushMappedBufferRangeEXT or glMapBufferRangeEXT (this is because when support for those two functions was added in commit 762d9ac, src/mesa/main/APIspec.xml wasn't updated). With this patch, glFlushMappedBufferRangeEXT and glMapBufferRangeEXT are properly included in the dispatch table. Accordingly, dispatch_sanity.cpp is modified to expect these two functions to be present. Reviewed-by: Kenneth Graunke <[email protected]> v2: Leave GLES1.1 dispatch sanity test disabled when not building GLES1 support.
Diffstat (limited to 'src/mesa/main/api_loopback.h')
0 files changed, 0 insertions, 0 deletions