[d3d9] Call DestroyCursor on cursor release

This commit is contained in:
WinterSnowfall 2024-02-09 12:10:54 +02:00
parent 1299ad050f
commit 3036004dae
No known key found for this signature in database
1 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,13 @@ namespace dxvk {
public:
#ifdef _WIN32
~D3D9Cursor() {
if (m_hCursor != nullptr)
::DestroyCursor(m_hCursor);
}
#endif
void UpdateCursor(int X, int Y);
BOOL ShowCursor(BOOL bShow);