Dispose of the intermmediate texture aswell
This commit is contained in:
parent
92c0479c33
commit
3072138b34
1 changed files with 7 additions and 0 deletions
|
@ -433,6 +433,13 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
|
||||
public void Dispose()
|
||||
{
|
||||
if (_intelWarView != null)
|
||||
{
|
||||
_intelWarView.Dispose();
|
||||
|
||||
_intelWarView = null;
|
||||
}
|
||||
|
||||
if (Handle != 0)
|
||||
{
|
||||
GL.DeleteTexture(Handle);
|
||||
|
|
Loading…
Add table
Reference in a new issue