From c408942c9c774257c88a6097b32743c0ba6f6718 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 20 Apr 2010 23:30:41 +0100 Subject: [PATCH] i965g: Minor clean up of winsys --- src/gallium/winsys/i965/drm/i965_drm_api.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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 * -- 2.30.2