mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-25 13:26:46 +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)
|
if (disposing)
|
||||||
{
|
{
|
||||||
Debug.Print("[KMS] Destroying window {0}.", window.Handle);
|
Debug.Print("[KMS] Destroying window {0}.", window.Handle);
|
||||||
|
Drm.SetCursor(window.FD, window.DisplayDevice.Id, 0, 0, 0, 0, 0);
|
||||||
window.Dispose();
|
window.Dispose();
|
||||||
Gbm.DestroySurface(window.Handle);
|
Gbm.DestroySurface(window.Handle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue