mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-25 10:26:55 +00:00
Remove DRM cursor on Dispose.
This commit is contained in:
parent
612b86bd5a
commit
d360026dfe
|
@ -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