[vulkan] Fix a silly typo

Sprites seem to be rather slow to draw, so "sprint" makes even less
sense.
This commit is contained in:
Bill Currie 2023-06-25 00:20:19 +09:00
parent b9bb841744
commit 65a63e7423
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ struct vulkan_ctx_s;
struct entity_s;
struct mod_sprite_ctx_s;
void Vulkan_Sprint_FreeDescriptors (struct vulkan_ctx_s *ctx,
void Vulkan_Sprite_FreeDescriptors (struct vulkan_ctx_s *ctx,
qfv_sprite_t *sprite);
void Vulkan_Sprite_DescriptorSet (struct vulkan_ctx_s *ctx,
qfv_sprite_t *sprite);

View file

@ -67,7 +67,7 @@ vulkan_sprite_clear (model_t *m, void *data)
msprite_t *msprite = m->cache.data;
__auto_type sprite = (qfv_sprite_t *) ((byte *) msprite + msprite->data);
Vulkan_Sprint_FreeDescriptors (ctx, sprite);
Vulkan_Sprite_FreeDescriptors (ctx, sprite);
dfunc->vkDestroyBuffer (device->dev, sprite->verts, 0);
dfunc->vkDestroyImageView (device->dev, sprite->view, 0);