Fixed DXT5.

This commit is contained in:
gibbed 2014-01-20 20:28:42 -08:00
parent e66390ae93
commit 2bda51f5ec
1 changed files with 1 additions and 1 deletions

View File

@ -1095,7 +1095,7 @@ D3D11GraphicsDriver::TextureInfo D3D11GraphicsDriver::GetTextureInfo(
break;
case FMT_DXT2_3:
case FMT_DXT4_5:
info.format = (fetch.format == FMT_DXT4_5 ? DXGI_FORMAT_BC5_UNORM : DXGI_FORMAT_BC3_UNORM);
info.format = DXGI_FORMAT_BC3_UNORM;
info.block_size = 4;
info.pitch = 16;
info.needs_power_of_two = true;