initialize GetBufferSubData pointer
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user