From 65a63e74236d34a218182b43cd82d4458dbdc76a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 25 Jun 2023 00:20:19 +0900 Subject: [PATCH] [vulkan] Fix a silly typo Sprites seem to be rather slow to draw, so "sprint" makes even less sense. --- include/QF/Vulkan/qf_sprite.h | 2 +- libs/models/sprite/vulkan_model_sprite.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/QF/Vulkan/qf_sprite.h b/include/QF/Vulkan/qf_sprite.h index 1b2ab04bf..8139c479c 100644 --- a/include/QF/Vulkan/qf_sprite.h +++ b/include/QF/Vulkan/qf_sprite.h @@ -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); diff --git a/libs/models/sprite/vulkan_model_sprite.c b/libs/models/sprite/vulkan_model_sprite.c index 09fecf76d..865d349ea 100644 --- a/libs/models/sprite/vulkan_model_sprite.c +++ b/libs/models/sprite/vulkan_model_sprite.c @@ -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);