mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 15:15:30 +03:00
Remove Texture::CopyFrom
format check
The formats of the textures involved in a texture were checked for equality, this broke certain copies as the presentation engine would invoke copies between textures of different yet compatible formats. Co-authored-by: PixelyIon <pixelyion@protonmail.com>
This commit is contained in:
parent
58174f255f
commit
00d434efdc
@ -803,8 +803,6 @@ namespace skyline::gpu {
|
||||
throw exception("Cannot copy from image with undefined layout");
|
||||
else if (source->dimensions != dimensions)
|
||||
throw exception("Cannot copy from image with different dimensions");
|
||||
else if (source->format != format)
|
||||
throw exception("Cannot copy from image with different format");
|
||||
|
||||
TRACE_EVENT("gpu", "Texture::CopyFrom");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user