From: Roland Scheidegger Date: Fri, 3 Nov 2006 02:07:34 +0000 (+0000) Subject: remove setting some driver funcs explicitly to NULL, as they are no longer set up... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7b71f69190c9fec567163dd7f63df593e069678;p=mesa.git remove setting some driver funcs explicitly to NULL, as they are no longer set up later. Thix fixes a segfault in _mesa_Bitmap(). --- diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 9cec50147df..06b2a152d9f 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -235,10 +235,6 @@ static void r200InitDriverFuncs( struct dd_function_table *functions ) { functions->GetBufferSize = r200GetBufferSize; functions->GetString = r200GetString; - - functions->Error = NULL; - functions->DrawPixels = NULL; - functions->Bitmap = NULL; } static const struct dri_debug_control debug_control[] =