diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-02-21 19:21:57 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 19:21:57 -0300 |
commit | c3a5716a95ea93cba9488189fb36d594db5083bc (patch) | |
tree | de4a15d2b88bf069193c30f09f19bd7ab139135a /Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs | |
parent | 1f1e2a7f03aad988cb04045eee18a360a807d13f (diff) |
Add copy dependency for some incompatible texture formats (#4380)1.1.632
* Add copy dependency for some incompatible texture formats
* Simplify compatibility check
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs b/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs index 722c4b4d..efbd17c1 100644 --- a/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs +++ b/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs @@ -24,6 +24,7 @@ namespace Ryujinx.Graphics.OpenGL private TextureCopy _textureCopy; private TextureCopy _backgroundTextureCopy; internal TextureCopy TextureCopy => BackgroundContextWorker.InBackground ? _backgroundTextureCopy : _textureCopy; + internal TextureCopyIncompatible TextureCopyIncompatible { get; } internal TextureCopyMS TextureCopyMS { get; } private Sync _sync; @@ -49,6 +50,7 @@ namespace Ryujinx.Graphics.OpenGL _window = new Window(this); _textureCopy = new TextureCopy(this); _backgroundTextureCopy = new TextureCopy(this); + TextureCopyIncompatible = new TextureCopyIncompatible(this); TextureCopyMS = new TextureCopyMS(this); _sync = new Sync(); PersistentBuffers = new PersistentBuffers(); |