diff --git a/libs/video/renderer/vulkan/vulkan_draw.c b/libs/video/renderer/vulkan/vulkan_draw.c index 12b3cd11b..879c79aba 100644 --- a/libs/video/renderer/vulkan/vulkan_draw.c +++ b/libs/video/renderer/vulkan/vulkan_draw.c @@ -218,7 +218,7 @@ flush_draw_scrap (vulkan_ctx_t *ctx) static void pic_free (drawctx_t *dctx, qpic_t *pic) { - subpic_t *subpic = *(subpic_t **) pic->data; + subpic_t *subpic = *(subpic_t **) &pic->data[0]; QFV_SubpicDelete (subpic); cmemfree (dctx->pic_memsuper, pic); }