diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-15 16:42:42 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-15 16:42:42 -0600 |
commit | 70d247c69bcef4f40b640ae61e9fb9ebc5887bb6 (patch) | |
tree | 12c7b32a969b64f4a1ef2324f2321e673634295c /src/mesa/drivers/common | |
parent | 01f7bda44c92268fa288bbd8f53af3a3620bd315 (diff) | |
parent | 8d0f72e8f901e12841408b95963d43684fb6ce48 (diff) |
Merge branch 'arb_map_buffer_range'
Conflicts:
docs/relnotes-7.6.html
src/mesa/main/mtypes.h
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index f31a2a25bf..edc069deee 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -213,6 +213,11 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->UnmapBuffer = _mesa_buffer_unmap; #endif +#if FEATURE_ARB_map_buffer_range + driver->MapBufferRange = _mesa_buffer_map_range; + driver->FlushMappedBufferRange = _mesa_buffer_flush_mapped_range; +#endif + #if FEATURE_EXT_framebuffer_object driver->NewFramebuffer = _mesa_new_framebuffer; driver->NewRenderbuffer = _mesa_new_soft_renderbuffer; |