mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-22 14:45:39 +00:00
Remove an unneeded check and comment
This commit is contained in:
parent
673c922b72
commit
d86967eb7c
|
@ -508,7 +508,6 @@ namespace OpenTK.Platform.Linux
|
|||
}
|
||||
set
|
||||
{
|
||||
if (value == is_cursor_visible) return;
|
||||
if (value && !is_cursor_visible)
|
||||
{
|
||||
SetCursor(cursor_current);
|
||||
|
|
|
@ -1256,7 +1256,7 @@ namespace OpenTK.Platform.Windows
|
|||
|
||||
public override bool CursorVisible
|
||||
{
|
||||
get { return cursor_visible_count >= 0; } // Not used
|
||||
get { return cursor_visible_count >= 0; }
|
||||
set
|
||||
{
|
||||
if (value && cursor_visible_count < 0)
|
||||
|
|
Loading…
Reference in a new issue