initialize GetBufferSubData pointer
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2003 20:51:28 +0000 (20:51 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2003 20:51:28 +0000 (20:51 +0000)
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_dd.c

index 2b64010c80d624e0d1765f56971c9e4fbe290f83..368e35a98940cb3d42f6f4df6011612a5c2d394f 100644 (file)
@@ -688,6 +688,7 @@ hook_in_driver_functions( GLcontext *ctx )
    ctx->Driver.BindBuffer = NULL;
    ctx->Driver.BufferData = _mesa_buffer_data;
    ctx->Driver.BufferSubData = _mesa_buffer_subdata;
+   ctx->Driver.GetBufferSubData = _mesa_buffer_get_subdata;
    ctx->Driver.MapBuffer = _mesa_buffer_map;
    ctx->Driver.UnmapBuffer = NULL;
 #endif
index a99c0d4b5fbb47face435bc1ff6aa602665ff714..c5e59bc08304ce73783acbb12c1397cbf171604e 100644 (file)
@@ -1021,6 +1021,7 @@ void xmesa_init_pointers( GLcontext *ctx )
    ctx->Driver.BindBuffer = NULL;
    ctx->Driver.BufferData = _mesa_buffer_data;
    ctx->Driver.BufferSubData = _mesa_buffer_subdata;
+   ctx->Driver.GetBufferSubData = _mesa_buffer_get_subdata;
    ctx->Driver.MapBuffer = _mesa_buffer_map;
    ctx->Driver.UnmapBuffer = NULL;
 #endif