summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-09-15 16:02:00 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-09-15 16:02:54 +0100
commitcb5f1bce23f3d5c7ac4f0a18476aefa21b4c1265 (patch)
tree0f8386e2e4adc84a0b63599c37e663d23d8a02e0 /src
parentd3a9cf54c0a95fb60ac8921e100d51b53c44541b (diff)
gallium: pipe_transfer_destroy helper inline.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/include/pipe/p_inlines.h7
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 aa757e7bda..25257bdf3f 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