summaryrefslogtreecommitdiff
path: root/decode.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-03-24 07:47:29 +0100
committerMikhail Burakov <mburakov@mailbox.org>2023-03-24 07:47:29 +0100
commitc26b6ef574fe2fdab1d1cd8cd4bce8fb1645e2f7 (patch)
tree6896754bcf3ed8da5eff65097a4eb3cdf38149ad /decode.h
parent844143e0c6cc1efa90bd27c9aa0cade7f7dd7930 (diff)
Precreate window buffers on surfaces allocation
Diffstat (limited to 'decode.h')
-rw-r--r--decode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/decode.h b/decode.h
index 6926091..b31b782 100644
--- a/decode.h
+++ b/decode.h
@@ -23,10 +23,10 @@
struct DecodeContext;
struct Frame;
+struct Window;
-struct DecodeContext* DecodeContextCreate(void);
+struct DecodeContext* DecodeContextCreate(struct Window* window);
bool DecodeContextDecode(struct DecodeContext* decode_context, int fd);
-const struct Frame* DecodeContextGetFrame(struct DecodeContext* decode_context);
void DecodeContextDestroy(struct DecodeContext** decode_context);
#endif // RECEIVER_DECODE_H_