From 3c98dccd405cf57cbc5a8534e93d7ba020d0e055 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 3 Feb 2020 20:53:52 -0500 Subject: mesa: remove unused _mesa_draw_indirect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All drivers that expose ARB_draw_indirect also set the driver callback. Reviewed-by: Mathias Fröhlich Part-of: --- src/mesa/drivers/common/driverfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/common') diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index bdfac61f344..e36a80f6a55 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -122,7 +122,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver) /* Draw functions */ driver->Draw = NULL; - driver->DrawIndirect = _mesa_draw_indirect; + driver->DrawIndirect = NULL; /* simple state commands */ driver->AlphaFunc = NULL; -- cgit v1.2.3