From 4738113f293ac2477a553225a24b6c489c6855f1 Mon Sep 17 00:00:00 2001 From: Cristallix Date: Mon, 20 Apr 2020 23:59:59 +0200 Subject: Suppress warnings from fields never used or never assigned (CS0169 and CS0649) (#919) * chore : disable unwanted warnings and minor code cleanup * chore : remove more warnings * fix : reorder struct correctly * fix : restore _isKernel and remove useless comment * fix : copy/paste error * fix : restore CallMethod call * fix : whitespace * chore : clean using * feat : remove warnings * fix : simplify warning removal on struct * fix : revert fields deletion and code clean up * fix : re-add RE value * fix : typo --- Ryujinx.Graphics.Gpu/State/CopyTextureControl.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/State/CopyTextureControl.cs') diff --git a/Ryujinx.Graphics.Gpu/State/CopyTextureControl.cs b/Ryujinx.Graphics.Gpu/State/CopyTextureControl.cs index cfc64fc4..50fb9010 100644 --- a/Ryujinx.Graphics.Gpu/State/CopyTextureControl.cs +++ b/Ryujinx.Graphics.Gpu/State/CopyTextureControl.cs @@ -5,7 +5,9 @@ namespace Ryujinx.Graphics.Gpu.State /// struct CopyTextureControl { +#pragma warning disable CS0649 public uint Packed; +#pragma warning restore CS0649 public bool UnpackLinearFilter() { -- cgit v1.2.3