1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2025-05-08 08:30:12 +00:00

Merge pull request from ogniK5377/redundant-format-type

video_core: Remove redundant pixel format type
This commit is contained in:
bunnei 2020-08-07 09:33:58 -04:00 committed by GitHub
commit 5429ea0e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -96,7 +96,6 @@ SurfaceParams SurfaceParams::CreateForTexture(const FormatLookupTable& lookup_ta
}
params.type = GetFormatType(params.pixel_format);
}
params.type = GetFormatType(params.pixel_format);
// TODO: on 1DBuffer we should use the tic info.
if (tic.IsBuffer()) {
params.target = SurfaceTarget::TextureBuffer;