From: Jakob Bornecrantz Date: Tue, 20 Apr 2010 22:30:41 +0000 (+0100) Subject: i965g: Minor clean up of winsys X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c408942c9c774257c88a6097b32743c0ba6f6718;p=mesa.git i965g: Minor clean up of winsys --- diff --git a/src/gallium/winsys/i965/drm/i965_drm_api.c b/src/gallium/winsys/i965/drm/i965_drm_api.c index 9072a186384..4e63646ae09 100644 --- a/src/gallium/winsys/i965/drm/i965_drm_api.c +++ b/src/gallium/winsys/i965/drm/i965_drm_api.c @@ -91,20 +91,12 @@ i965_libdrm_create_screen(struct drm_api *api, int drmFD, return brw_create_screen(&idws->base, deviceID); } - -static void -destroy(struct drm_api *api) -{ - if (BRW_DUMP) - debug_printf("%s\n", __FUNCTION__); - -} - struct drm_api i965_libdrm_api = { .name = "i965", + .driver_name = "i915", .create_screen = i965_libdrm_create_screen, - .destroy = destroy, + .destroy = NULL; }; struct drm_api *