From 654e617fe78b0f5cc86d0bcf0625301abff168f5 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 29 Dec 2019 14:41:50 -0300 Subject: Some code cleanup --- Ryujinx.Graphics.OpenGL/TextureView.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Ryujinx.Graphics.OpenGL/TextureView.cs') diff --git a/Ryujinx.Graphics.OpenGL/TextureView.cs b/Ryujinx.Graphics.OpenGL/TextureView.cs index 2fd23d4c..f533404b 100644 --- a/Ryujinx.Graphics.OpenGL/TextureView.cs +++ b/Ryujinx.Graphics.OpenGL/TextureView.cs @@ -1,6 +1,5 @@ using OpenTK.Graphics.OpenGL; using Ryujinx.Graphics.GAL; -using Ryujinx.Graphics.GAL.Texture; using System; namespace Ryujinx.Graphics.OpenGL @@ -9,13 +8,13 @@ namespace Ryujinx.Graphics.OpenGL { public int Handle { get; private set; } - private Renderer _renderer; + private readonly Renderer _renderer; - private TextureStorage _parent; + private readonly TextureStorage _parent; private TextureView _emulatedViewParent; - private TextureCreateInfo _info; + private readonly TextureCreateInfo _info; private int _firstLayer; private int _firstLevel; -- cgit v1.2.3