summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-20 23:30:41 +0100
committerJakob Bornecrantz <[email protected]>2010-04-20 23:53:59 +0100
commitc408942c9c774257c88a6097b32743c0ba6f6718 (patch)
tree10e7b0dbbfa6648d72d7923165703dabc28de404 /src/gallium
parent1c68d1aa4c1b894b2cfda0c347c2020726bb0721 (diff)
i965g: Minor clean up of winsys
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 *