diff options
author | José Fonseca <[email protected]> | 2009-09-15 16:02:00 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-09-15 16:02:54 +0100 |
commit | cb5f1bce23f3d5c7ac4f0a18476aefa21b4c1265 (patch) | |
tree | 0f8386e2e4adc84a0b63599c37e663d23d8a02e0 /src/gallium | |
parent | d3a9cf54c0a95fb60ac8921e100d51b53c44541b (diff) |
gallium: pipe_transfer_destroy helper inline.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/include/pipe/p_inlines.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_inlines.h b/src/gallium/include/pipe/p_inlines.h index aa757e7bda1..25257bdf3f4 100644 --- a/src/gallium/include/pipe/p_inlines.h +++ b/src/gallium/include/pipe/p_inlines.h @@ -169,6 +169,13 @@ pipe_transfer_unmap( struct pipe_transfer *transf ) screen->transfer_unmap(screen, transf); } +static INLINE void +pipe_transfer_destroy( struct pipe_transfer *transf ) +{ + struct pipe_screen *screen = transf->texture->screen; + return screen->tex_transfer_destroy(transf); +} + #ifdef __cplusplus } #endif |