mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-20 22:43:24 +02:00
video_core: Remove redundant pixel format type
We already get the format type before converting shadow formats and during shadow formats.
This commit is contained in:
parent
61e4c0f83d
commit
dd4a02d15c
@ -96,7 +96,6 @@ SurfaceParams SurfaceParams::CreateForTexture(const FormatLookupTable& lookup_ta
|
|||||||
}
|
}
|
||||||
params.type = GetFormatType(params.pixel_format);
|
params.type = GetFormatType(params.pixel_format);
|
||||||
}
|
}
|
||||||
params.type = GetFormatType(params.pixel_format);
|
|
||||||
// TODO: on 1DBuffer we should use the tic info.
|
// TODO: on 1DBuffer we should use the tic info.
|
||||||
if (tic.IsBuffer()) {
|
if (tic.IsBuffer()) {
|
||||||
params.target = SurfaceTarget::TextureBuffer;
|
params.target = SurfaceTarget::TextureBuffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user