summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2010-02-08 14:03:28 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-02-08 14:03:28 -0800
commit74d23546c79fe8c8d87588fa423040e3b19a8fc6 (patch)
treebe69b97abfeeb3df9bb27157e088e8f6201c79ec /src/gallium/winsys
parent184cefcd8c3169743955cb0b6af79a1793cda685 (diff)
radeong: Provide drm_api::destroy hook.
Pedantic Corbin is pedantic.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/drm/radeon/core/radeon_drm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
index 5881abab2c..0c0e118ba3 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
@@ -256,6 +256,11 @@ static boolean radeon_local_handle_from_texture(struct drm_api *api,
return TRUE;
}
+static void radeon_drm_api_destroy(struct drm_api *api)
+{
+ return;
+}
+
struct drm_api drm_api_hooks = {
.name = "radeon",
.driver_name = "radeon",
@@ -263,6 +268,7 @@ struct drm_api drm_api_hooks = {
.texture_from_shared_handle = radeon_texture_from_shared_handle,
.shared_handle_from_texture = radeon_shared_handle_from_texture,
.local_handle_from_texture = radeon_local_handle_from_texture,
+ .destroy = radeon_drm_api_destroy,
};
struct drm_api* drm_api_create()