gpu: initialize VkDebugUtilsLabelEXT::color

Fixes #12383.
This commit is contained in:
zopsicle authored and Sam Lantinga committed 2025-02-24 11:51:13 -08:00
1 parent 60b7faa987
commit a7bc6c5e08
1 file changed
+2 -2
+2 -2
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(