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.
This commit is contained in:
parent
dc8c781d7a
commit
38be18ef2a
4 changed files with 9 additions and 9 deletions
|
@ -10,10 +10,10 @@ namespace Ryujinx.Graphics.OpenGL.Image
|
|||
|
||||
private readonly TextureStorage _parent;
|
||||
|
||||
public int StorageHandle => _parent.Handle;
|
||||
|
||||
private TextureView _incompatibleFormatView;
|
||||
|
||||
public ITextureInfo Storage => _parent;
|
||||
|
||||
public int FirstLayer { get; private set; }
|
||||
public int FirstLevel { get; private set; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue