diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-04-12 22:09:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-13 03:09:42 +0200 |
| commit | 001005b3d56d4984399b4baf8e4b7348ecdb5062 (patch) | |
| tree | 5d478ed3a4d78a20f471751af046dd345cce1f36 /Ryujinx.Graphics.OpenGL/Image/TextureView.cs | |
| parent | b662a26c7e2b66d916986b1ed9ffae3b918619d1 (diff) | |
Fix sub-image copies on intel GPUs (#2198)
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Image/TextureView.cs')
| -rw-r--r-- | Ryujinx.Graphics.OpenGL/Image/TextureView.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Image/TextureView.cs b/Ryujinx.Graphics.OpenGL/Image/TextureView.cs index 8bc75efb..8799167a 100644 --- a/Ryujinx.Graphics.OpenGL/Image/TextureView.cs +++ b/Ryujinx.Graphics.OpenGL/Image/TextureView.cs @@ -4,12 +4,14 @@ using System; namespace Ryujinx.Graphics.OpenGL.Image { - class TextureView : TextureBase, ITexture + class TextureView : TextureBase, ITexture, ITextureInfo { private readonly Renderer _renderer; private readonly TextureStorage _parent; + public int StorageHandle => _parent.Handle; + private TextureView _incompatibleFormatView; public int FirstLayer { get; private set; } |
