mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
gl: Fix silly regression with blit dst resource readback
This commit is contained in:
parent
8093c9b573
commit
7eec702c6d
1 changed files with 1 additions and 2 deletions
|
@ -861,8 +861,7 @@ namespace gl
|
||||||
{
|
{
|
||||||
case CELL_GCM_TEXTURE_A8R8G8B8:
|
case CELL_GCM_TEXTURE_A8R8G8B8:
|
||||||
{
|
{
|
||||||
bool bgra = (flags == rsx::texture_create_flags::native_component_order);
|
cached.set_format(gl::texture::format::bgra, gl::texture::type::uint_8_8_8_8, false);
|
||||||
cached.set_format(bgra ? gl::texture::format::bgra : gl::texture::format::rgba, gl::texture::type::uint_8_8_8_8, false);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CELL_GCM_TEXTURE_R5G6B5:
|
case CELL_GCM_TEXTURE_R5G6B5:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue