diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-04-20 23:28:19 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-04-20 23:53:59 +0100 |
commit | 1c68d1aa4c1b894b2cfda0c347c2020726bb0721 (patch) | |
tree | 6986aef279bf6737e9961945e077e78950d00342 | |
parent | fa2d84d2f78db09d88147276bc0f9b9c2d1586fe (diff) | |
download | external_mesa3d-1c68d1aa4c1b894b2cfda0c347c2020726bb0721.zip external_mesa3d-1c68d1aa4c1b894b2cfda0c347c2020726bb0721.tar.gz external_mesa3d-1c68d1aa4c1b894b2cfda0c347c2020726bb0721.tar.bz2 |
i915g: Minor clean up of winsys
-rw-r--r-- | src/gallium/winsys/i915/drm/i915_drm_api.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gallium/winsys/i915/drm/i915_drm_api.c b/src/gallium/winsys/i915/drm/i915_drm_api.c index 6bb0aec..da87e51 100644 --- a/src/gallium/winsys/i915/drm/i915_drm_api.c +++ b/src/gallium/winsys/i915/drm/i915_drm_api.c @@ -88,22 +88,16 @@ i915_drm_create_screen(struct drm_api *api, int drmFD, return i915_create_screen(&idws->base, deviceID); } -static void -destroy(struct drm_api *api) -{ - -} - -struct drm_api intel_drm_api = +static struct drm_api i915_drm_api = { .name = "i915", .driver_name = "i915", .create_screen = i915_drm_create_screen, - .destroy = destroy, + .destroy = NULL; }; struct drm_api * drm_api_create() { - return trace_drm_create(&intel_drm_api); + return trace_drm_create(&i915_drm_api); } |