mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-22 15:25:36 +00:00
Remove redundant casts
This commit is contained in:
committed by
Sam Lantinga
parent
2e346d7166
commit
c70f54e28b
@@ -1235,7 +1235,7 @@ static VULKAN_PipelineState *VULKAN_CreatePipelineState(SDL_Renderer *renderer,
|
||||
|
||||
// Input assembly
|
||||
inputAssemblyStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO;
|
||||
inputAssemblyStateCreateInfo.topology = ( VkPrimitiveTopology ) topology;
|
||||
inputAssemblyStateCreateInfo.topology = topology;
|
||||
inputAssemblyStateCreateInfo.primitiveRestartEnable = VK_FALSE;
|
||||
|
||||
viewportStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO;
|
||||
|
||||
Reference in New Issue
Block a user