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