initialize GetBufferSubData pointer

This commit is contained in:
Brian Paul
2003-10-15 20:51:28 +00:00
parent 49aefce5e5
commit 16927d02bc
2 changed files with 2 additions and 0 deletions

View 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

View 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