diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-08-08 12:23:21 +0100 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-08-08 12:32:23 +0100 |
commit | 9dcb956a0618931c97693f7c74493cf296cfe86c (patch) | |
tree | ffc076c3e34dffd3dc8de5cf01ccb96939d4b797 /src/gallium/include | |
parent | be36f7869e8ecc4b00e414557a9699ba373e6bdd (diff) |
gallium: Add destroy callback to all *_winsys interfaces.
For consistency and to simplify these objects' destruction.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_winsys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_winsys.h b/src/gallium/include/pipe/p_winsys.h index 7ebc285192..5d18291dc6 100644 --- a/src/gallium/include/pipe/p_winsys.h +++ b/src/gallium/include/pipe/p_winsys.h @@ -62,6 +62,8 @@ struct pipe_surface; */ struct pipe_winsys { + void (*destroy)( struct pipe_winsys *ws ); + /** Returns name of this winsys interface */ const char *(*get_name)( struct pipe_winsys *ws ); |