summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-15 16:42:42 -0600
committerBrian Paul <brianp@vmware.com>2009-06-15 16:42:42 -0600
commit70d247c69bcef4f40b640ae61e9fb9ebc5887bb6 (patch)
tree12c7b32a969b64f4a1ef2324f2321e673634295c /src/mesa/drivers/common
parent01f7bda44c92268fa288bbd8f53af3a3620bd315 (diff)
parent8d0f72e8f901e12841408b95963d43684fb6ce48 (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.c5
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;