mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-07 15:44:59 -06: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_);
|
auto components = get_component_mapping(gcm_format, rsx::component_order::default_);
|
||||||
dst->set_native_component_layout(components);
|
dst->set_native_component_layout(components);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dst->set_native_component_layout(src->get_native_component_layout());
|
||||||
|
}
|
||||||
|
|
||||||
return dst->get_view(remap);
|
return dst->get_view(remap);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user