mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 10:20:31 +00:00
Remove DRM cursor on Dispose.
This commit is contained in:
parent
3c71e9b96f
commit
77f3c7528c
|
@ -366,6 +366,7 @@ namespace OpenTK.Platform.Linux
|
|||
if (disposing)
|
||||
{
|
||||
Debug.Print("[KMS] Destroying window {0}.", window.Handle);
|
||||
Drm.SetCursor(window.FD, window.DisplayDevice.Id, 0, 0, 0, 0, 0);
|
||||
window.Dispose();
|
||||
Gbm.DestroySurface(window.Handle);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue