summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/gbm
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
parent66f7fd99fa1d8c8e3b09fadd5624db9968b67506 (diff)
gallium/gbm: Switch to auxiliary/pipe-loader.
Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/gbm')
-rw-r--r--src/gallium/state_trackers/gbm/gbm_drm.c5
-rw-r--r--src/gallium/state_trackers/gbm/gbm_gallium_drmint.h3
2 files changed, 4 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);
}
diff --git a/src/gallium/state_trackers/gbm/gbm_gallium_drmint.h b/src/gallium/state_trackers/gbm/gbm_gallium_drmint.h
index 6277b8dba2e..a5d6d834737 100644
--- a/src/gallium/state_trackers/gbm/gbm_gallium_drmint.h
+++ b/src/gallium/state_trackers/gbm/gbm_gallium_drmint.h
@@ -71,4 +71,7 @@ gbm_gallium_drm_device_create(int fd);
int
gallium_screen_create(struct gbm_gallium_drm_device *gdrm);
+void
+gallium_screen_destroy(struct gbm_gallium_drm_device *gdrm);
+
#endif