rsx: Minor refactoring (#10358)

- Fix some misnomers.
- Allow finer grained control over texture section creation routines.
This commit is contained in:
kd-11 2021-05-28 01:44:07 +03:00 committed by GitHub
parent 763828837b
commit 9e62e98f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 52 additions and 39 deletions

View file

@ -117,7 +117,7 @@ namespace gl
if (!src || static_cast<GLenum>(src->get_internal_format()) != sized_internal_fmt)
{
// Apply base component map onto the new texture if a data cast has been done
swizzle = get_component_mapping(gcm_format, rsx::texture_create_flags::default_component_order);
swizzle = get_component_mapping(gcm_format, rsx::component_order::default_);
}
else
{