mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
rsx: Minor refactoring (#10358)
- Fix some misnomers. - Allow finer grained control over texture section creation routines.
This commit is contained in:
parent
763828837b
commit
9e62e98f79
6 changed files with 52 additions and 39 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue