gpu: initialize VkDebugUtilsLabelEXT::color

Fixes #12383.
This commit is contained in:
zopsicle 2025-02-24 20:03:17 +01:00 committed by Sam Lantinga
parent 60b7faa987
commit a7bc6c5e08
1 changed files with 2 additions and 2 deletions

View File

@ -5549,8 +5549,8 @@ static void VULKAN_InsertDebugLabel(
VkDebugUtilsLabelEXT labelInfo;
if (renderer->supportsDebugUtils) {
SDL_zero(labelInfo);
labelInfo.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT;
labelInfo.pNext = NULL;
labelInfo.pLabelName = text;
renderer->vkCmdInsertDebugUtilsLabelEXT(
@ -5568,8 +5568,8 @@ static void VULKAN_PushDebugGroup(
VkDebugUtilsLabelEXT labelInfo;
if (renderer->supportsDebugUtils) {
SDL_zero(labelInfo);
labelInfo.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT;
labelInfo.pNext = NULL;
labelInfo.pLabelName = name;
renderer->vkCmdBeginDebugUtilsLabelEXT(