1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 06:46:39 +00:00
Ryujinx/Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs
riperiperi 38be18ef2a
Fix intel view copy workaround. (#2216)
The texture target must be taken from the storage rather than the view, when using the storage handle for the copy.
2021-04-17 22:16:28 +02:00

14 lines
280 B
C#

using Ryujinx.Graphics.GAL;
namespace Ryujinx.Graphics.OpenGL.Image
{
interface ITextureInfo
{
ITextureInfo Storage { get; }
int Handle { get; }
int FirstLayer => 0;
int FirstLevel => 0;
TextureCreateInfo Info { get; }
}
}