mirror of https://github.com/doitsujin/dxvk
[d3d9] Call DestroyCursor on cursor release
This commit is contained in:
parent
1299ad050f
commit
3036004dae
|
@ -13,6 +13,13 @@ namespace dxvk {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
~D3D9Cursor() {
|
||||||
|
if (m_hCursor != nullptr)
|
||||||
|
::DestroyCursor(m_hCursor);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void UpdateCursor(int X, int Y);
|
void UpdateCursor(int X, int Y);
|
||||||
|
|
||||||
BOOL ShowCursor(BOOL bShow);
|
BOOL ShowCursor(BOOL bShow);
|
||||||
|
|
Loading…
Reference in New Issue