mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

The texture target must be taken from the storage rather than the view, when using the storage handle for the copy.
15 lines
280 B
C#
15 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; }
|
|
}
|
|
}
|