summaryrefslogtreecommitdiff
path: root/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'decode.c')
-rw-r--r--decode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/decode.c b/decode.c
index 6bf49e6..7686e9e 100644
--- a/decode.c
+++ b/decode.c
@@ -462,7 +462,9 @@ bool DecodeContextDecode(struct DecodeContext* decode_context,
}
size_t locked = UnlockAllSurfaces(decode_context, surface_out->Data.MemId);
- if (!WindowShowFrame(decode_context->window, locked)) {
+ if (!WindowShowFrame(decode_context->window, locked,
+ surface_out->Info.CropX, surface_out->Info.CropY,
+ surface_out->Info.CropW, surface_out->Info.CropH)) {
LOG("Failed to show frame");
return false;
}