use _mesa_unmap_buffer by default
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 31 Oct 2004 15:23:42 +0000 (15:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 31 Oct 2004 15:23:42 +0000 (15:23 +0000)
src/mesa/drivers/common/driverfuncs.c

index 643a8c1..df5f6ac 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Mesa 3-D graphics library
- * Version:  6.1
+ * Version:  6.3
  *
  * Copyright (C) 1999-2004  Brian Paul   All Rights Reserved.
  *
@@ -187,7 +187,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
    driver->BufferSubData = _mesa_buffer_subdata;
    driver->GetBufferSubData = _mesa_buffer_get_subdata;
    driver->MapBuffer = _mesa_buffer_map;
-   driver->UnmapBuffer = NULL;
+   driver->UnmapBuffer = _mesa_buffer_unmap;
 #endif
 
    /* T&L stuff */