From af65ed3930294f687c6100280b650b36f888427d Mon Sep 17 00:00:00 2001
From: jduncanator <1518948+jduncanator@users.noreply.github.com>
Date: Thu, 11 Apr 2019 23:19:49 +1000
Subject: [PATCH] Add missing TextureCubeMapArray texture type entry (#657)

* Add missing TextureCubeMapArray texture type entry

* Duplicate comment from other Create path
---
 Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs b/Ryujinx.Graphics/Gal/OpenGL/OglTexture.cs
index 191f6e3deb..b6bf36c58e 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,