summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/i965/drm/i965_drm_api.c12
1 files 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 *