diff --git a/hw/xbox/nv2a/pgraph/vk/texture.c b/hw/xbox/nv2a/pgraph/vk/texture.c index 1353a3ab88..92e444a38d 100644 --- a/hw/xbox/nv2a/pgraph/vk/texture.c +++ b/hw/xbox/nv2a/pgraph/vk/texture.c @@ -1160,7 +1160,8 @@ static void create_texture(PGRAPHState *pg, int texture_idx) NV2A_VK_DPRINTF("Cache hit"); r->texture_bindings[texture_idx] = snode; possibly_dirty |= snode->possibly_dirty; - } else { + } else { + static void create_texture(PGRAPHState *pg, int texture_idx) possibly_dirty = true; }