mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
[vulkan] Fix an inappropriate cast
I'm surprised that worked at all (and more surprised it got past linux gcc).
This commit is contained in:
parent
a9bd436837
commit
5b1ee0e6f6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue