summaryrefslogtreecommitdiff
path: root/include/pool-buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pool-buffer.h')
-rw-r--r--include/pool-buffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pool-buffer.h b/include/pool-buffer.h
index 0ebf787..38e8218 100644
--- a/include/pool-buffer.h
+++ b/include/pool-buffer.h
@@ -15,8 +15,10 @@ struct pool_buffer {
bool busy;
};
+struct pool_buffer *create_buffer(struct wl_shm *shm, struct pool_buffer *buf,
+ int32_t width, int32_t height, uint32_t format);
struct pool_buffer *get_next_buffer(struct wl_shm *shm,
- struct pool_buffer pool[static 2], uint32_t width, uint32_t height);
+ struct pool_buffer pool[static 2], uint32_t width, uint32_t height);
void destroy_buffer(struct pool_buffer *buffer);
#endif