0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-22 22:45:48 +00:00

Add missing TextureCubeMapArray texture type entry (#657)

* Add missing TextureCubeMapArray texture type entry

* Duplicate comment from other Create path
This commit is contained in:
jduncanator 2019-04-11 23:19:49 +10:00 committed by GitHub
parent febc2ad6f4
commit af65ed3930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,