mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 07:45:41 +01:00
surface_params: Remove redundant assignment
This is a redundant assignment that can be removed.
This commit is contained in:
parent
c705a1db96
commit
bd9545a3a8
@ -137,7 +137,6 @@ SurfaceParams SurfaceParams::CreateForImage(const FormatLookupTable& lookup_tabl
|
|||||||
params.pixel_format = lookup_table.GetPixelFormat(
|
params.pixel_format = lookup_table.GetPixelFormat(
|
||||||
tic.format, params.srgb_conversion, tic.r_type, tic.g_type, tic.b_type, tic.a_type);
|
tic.format, params.srgb_conversion, tic.r_type, tic.g_type, tic.b_type, tic.a_type);
|
||||||
params.type = GetFormatType(params.pixel_format);
|
params.type = GetFormatType(params.pixel_format);
|
||||||
params.type = GetFormatType(params.pixel_format);
|
|
||||||
params.target = ImageTypeToSurfaceTarget(entry.type);
|
params.target = ImageTypeToSurfaceTarget(entry.type);
|
||||||
// TODO: on 1DBuffer we should use the tic info.
|
// TODO: on 1DBuffer we should use the tic info.
|
||||||
if (tic.IsBuffer()) {
|
if (tic.IsBuffer()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user