Amend use of non-standard compiler syntax

This commit is contained in:
Daniel Ludwig
2024-09-06 17:34:24 +02:00
committed by Ozkan Sezer
parent 0a8bf663b7
commit 0a44ea1b0b
4 changed files with 31 additions and 5 deletions

View File

@@ -7863,6 +7863,7 @@ static void VULKAN_BeginRenderPass(
Uint32 i;
SDL_GPUViewport defaultViewport;
SDL_Rect defaultScissor;
SDL_FColor defaultBlendConstants;
Uint32 framebufferWidth = UINT32_MAX;
Uint32 framebufferHeight = UINT32_MAX;
@@ -8056,9 +8057,14 @@ static void VULKAN_BeginRenderPass(
vulkanCommandBuffer,
&defaultScissor);
defaultBlendConstants.r = 1.0f;
defaultBlendConstants.g = 1.0f;
defaultBlendConstants.b = 1.0f;
defaultBlendConstants.a = 1.0f;
VULKAN_INTERNAL_SetCurrentBlendConstants(
vulkanCommandBuffer,
(SDL_FColor){ 1.0f, 1.0f, 1.0f, 1.0f });
defaultBlendConstants);
VULKAN_INTERNAL_SetCurrentStencilReference(
vulkanCommandBuffer,