projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a9cf5
)
gallium: pipe_transfer_destroy helper inline.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 15 Sep 2009 15:02:00 +0000
(16:02 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 15 Sep 2009 15:02:54 +0000
(16:02 +0100)
src/gallium/include/pipe/p_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_inlines.h
b/src/gallium/include/pipe/p_inlines.h
index aa757e7bda155608fa458f86fd75f2231d6b702d..25257bdf3f4a89c38f00f1664919b4609750cf53 100644
(file)
--- 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