Fix copy-paste error from last commit

d3d11
Caleb Cornett 2024-02-09 16:39:55 -06:00 committed by cosmonaut
parent e3d112a971
commit 02aaf582d4
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;