mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 22:59:49 +00:00
GPU: Add enable_depth_clip to RasterizerState (#10964)
This commit is contained in:
@@ -2447,7 +2447,7 @@ static bool D3D12_INTERNAL_ConvertRasterizerState(SDL_GPURasterizerState rasteri
|
||||
desc->SlopeScaledDepthBias = 0.0f;
|
||||
}
|
||||
|
||||
desc->DepthClipEnable = TRUE;
|
||||
desc->DepthClipEnable = rasterizerState.enable_depth_clip;
|
||||
desc->MultisampleEnable = FALSE;
|
||||
desc->AntialiasedLineEnable = FALSE;
|
||||
desc->ForcedSampleCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user