aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/gbm/gbm_drm.c
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2012-04-20 16:31:23 +0200
committerFrancisco Jerez <[email protected]>2012-05-11 12:39:44 +0200
commitb52a0f22813c8e09747ece41173c21f22d4fc369 (patch)
tree4743eec9191925a64c3c039925736e7db97d402b /src/gallium/state_trackers/gbm/gbm_drm.c
parent66f7fd99fa1d8c8e3b09fadd5624db9968b67506 (diff)
gallium/gbm: Switch to auxiliary/pipe-loader.
Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/gbm/gbm_drm.c')
-rw-r--r--src/gallium/state_trackers/gbm/gbm_drm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c
index d4baf87096a..a327fdaae64 100644
--- a/src/gallium/state_trackers/gbm/gbm_drm.c
+++ b/src/gallium/state_trackers/gbm/gbm_drm.c
@@ -190,10 +190,7 @@ gbm_gallium_drm_destroy(struct gbm_device *gbm)
{
struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm);
- gdrm->screen->destroy(gdrm->screen);
-
- FREE(gdrm->base.driver_name);
-
+ gallium_screen_destroy(gdrm);
FREE(gdrm);
}