Note about DXGI_FORMAT_B4G4R4A4_UNORM being Windows 8 only.
This commit is contained in:
parent
2f8f893977
commit
93d61d02d7
|
@ -1159,11 +1159,11 @@ D3D11GraphicsDriver::TextureInfo D3D11GraphicsDriver::GetTextureInfo(
|
|||
case FMT_4_4_4_4:
|
||||
switch (fetch.swizzle) {
|
||||
case XE_GPU_SWIZZLE_BGRA:
|
||||
info.format = DXGI_FORMAT_B4G4R4A4_UNORM;
|
||||
info.format = DXGI_FORMAT_B4G4R4A4_UNORM; // only supported on Windows 8+
|
||||
break;
|
||||
default:
|
||||
XELOGW("D3D11: unhandled swizzle for FMT_4_4_4_4");
|
||||
info.format = DXGI_FORMAT_B4G4R4A4_UNORM;
|
||||
info.format = DXGI_FORMAT_B4G4R4A4_UNORM; // only supported on Windows 8+
|
||||
break;
|
||||
}
|
||||
info.block_size = 1;
|
||||
|
|
Loading…
Reference in New Issue