Fix copy-paste error from last commit

d3d11-revived
Caleb Cornett 2024-02-09 16:39:55 -06:00
parent ac5aa0d40c
commit c121492e47
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ static DXGI_FORMAT D3D11_INTERNAL_GetSampleableFormat(
return DXGI_FORMAT_R16_UNORM;
case DXGI_FORMAT_R32_TYPELESS:
return DXGI_FORMAT_R32_FLOAT;
case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
case DXGI_FORMAT_R24G8_TYPELESS:
return DXGI_FORMAT_R24_UNORM_X8_TYPELESS;
case DXGI_FORMAT_R32G8X24_TYPELESS:
return DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS;