From c26b6ef574fe2fdab1d1cd8cd4bce8fb1645e2f7 Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Fri, 24 Mar 2023 07:47:29 +0100 Subject: Precreate window buffers on surfaces allocation --- decode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decode.h') 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_ -- cgit v1.2.3