aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjduncanator <1518948+jduncanator@users.noreply.github.com>2019-04-11 23:19:49 +1000
committerGitHub <noreply@github.com>2019-04-11 23:19:49 +1000
commitaf65ed3930294f687c6100280b650b36f888427d (patch)
tree87f493842645a8baf0b2017dc2364ca77d4c26f9
parentfebc2ad6f492972243f0d8918337f08e7bd395ee (diff)
Add missing TextureCubeMapArray texture type entry (#657)
* Add missing TextureCubeMapArray texture type entry * Duplicate comment from other Create path
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs b/Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs
index 191f6e3d..b6bf36c5 100644
--- a/Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs
+++ b/Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs
@@ -95,6 +95,9 @@ namespace Ryujinx.Graphics.Gal.OpenGL
type,
IntPtr.Zero);
break;
+ // Cube map arrays are just 2D texture arrays with 6 entries
+ // per cube map so we can handle them in the same way
+ case TextureTarget.TextureCubeMapArray:
case TextureTarget.Texture2DArray:
GL.TexImage3D(
target,