Platform/Cursor: Fixed SystemCursor_Move on Windows

This commit is contained in:
Lynix
2019-03-10 15:12:20 +01:00
parent 8c91d6a77d
commit ec3cb12451
2 changed files with 2 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ namespace Nz
bool CursorImpl::Create(SystemCursor cursor)
{
if (cursor != SystemCursor_Move)
if (cursor != SystemCursor_None)
m_cursor = static_cast<HCURSOR>(LoadImage(nullptr, s_systemCursorIds[cursor], IMAGE_CURSOR, 0, 0, LR_SHARED));
else
m_cursor = nullptr;