radeong: Provide drm_api::destroy hook.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 8 Feb 2010 22:03:28 +0000 (14:03 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 8 Feb 2010 22:03:28 +0000 (14:03 -0800)
Pedantic Corbin is pedantic.

src/gallium/winsys/drm/radeon/core/radeon_drm.c

index 5881abab2c2666afbd447cb74a0af75454984257..0c0e118ba3ada47e3e43925f3fdf685406f9cb8a 100644 (file)
@@ -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()