mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-10 07:24:54 +01:00
gl: Propagate native layout from parent when creating temporary subresources
This commit is contained in:
parent
0ea692e9ab
commit
4a51302c58
|
|
@ -179,6 +179,10 @@ namespace gl
|
|||
auto components = get_component_mapping(gcm_format, rsx::component_order::default_);
|
||||
dst->set_native_component_layout(components);
|
||||
}
|
||||
else
|
||||
{
|
||||
dst->set_native_component_layout(src->get_native_component_layout());
|
||||
}
|
||||
|
||||
return dst->get_view(remap);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue