mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-16 00:08:14 +00:00
Amend use of non-standard compiler syntax
This commit is contained in:

committed by
Ozkan Sezer

parent
0a8bf663b7
commit
0a44ea1b0b
@@ -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,
|
||||
|
Reference in New Issue
Block a user