mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:05:31 +00:00
33c06d4b35
GetIconInfo (https://msdn.microsoft.com/en-us/library/windows/desktop/ms648070(v=vs.85).aspx) creates bitmaps that must be deleted after the call to CreateIconIndirect, which copies the bitmaps to the icon it creates. bmpIcon created by Bitmap.GetHicon is now destroyed after being used. The return value of SetCursor was used to retrieve the last cursor, as it could have been set by another library (Some UI libraries change the cursor using the .net Cursor) this could of leaked the cursor we created and now lost track of. We now delete the handle we had set, not the one returned by SetCursor. |
||
---|---|---|
.. | ||
Bindings | ||
API.cs | ||
WglHelper.cs | ||
WinDisplayDevice.cs | ||
WinFactory.cs | ||
WinGLContext.cs | ||
WinGLNative.cs | ||
WinGraphicsMode.cs | ||
WinInputBase.cs | ||
WinKeyMap.cs | ||
WinRawInput.cs | ||
WinRawJoystick.cs | ||
WinRawKeyboard.cs | ||
WinRawMouse.cs | ||
WinWindowInfo.cs | ||
XInputJoystick.cs |