Add missing TextureCubeMapArray texture type entry (#657)
* Add missing TextureCubeMapArray texture type entry * Duplicate comment from other Create path
This commit is contained in:
parent
febc2ad6f4
commit
af65ed3930
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||||
type,
|
type,
|
||||||
IntPtr.Zero);
|
IntPtr.Zero);
|
||||||
break;
|
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:
|
case TextureTarget.Texture2DArray:
|
||||||
GL.TexImage3D(
|
GL.TexImage3D(
|
||||||
target,
|
target,
|
||||||
|
|
Loading…
Reference in a new issue