mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
gl: Enable handling of X16 blit targets
This commit is contained in:
parent
97bd8f7bc1
commit
58f0fa3ca5
|
|
@ -727,6 +727,11 @@ namespace gl
|
|||
cached.set_format(gl::texture::format::depth, gl::texture::type::ushort, true);
|
||||
break;
|
||||
}
|
||||
case CELL_GCM_TEXTURE_X16:
|
||||
{
|
||||
cached.set_format(gl::texture::format::r, gl::texture::type::ushort, true);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
fmt::throw_exception("Unexpected gcm format 0x%X", gcm_format);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue