mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d9] Don't show/hide a software cursor
This commit is contained in:
parent
a62117cd13
commit
b0b46fd075
@ -16,7 +16,11 @@ namespace dxvk {
|
||||
|
||||
|
||||
BOOL D3D9Cursor::ShowCursor(BOOL bShow) {
|
||||
::SetCursor(bShow ? m_hCursor : nullptr);
|
||||
if (likely(m_hCursor != nullptr))
|
||||
::SetCursor(bShow ? m_hCursor : nullptr);
|
||||
else
|
||||
Logger::debug("D3D9Cursor::ShowCursor: Software cursor not implemented.");
|
||||
|
||||
return std::exchange(m_visible, bShow);
|
||||
}
|
||||
|
||||
@ -63,4 +67,4 @@ namespace dxvk {
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user