Move hardware cursor control to hidden DisableHardwareCursors setting.
This commit is contained in:
committed by
Matthias Mailänder
parent
370f7a44fa
commit
f730b55255
@@ -40,8 +40,7 @@ namespace OpenRA.Graphics
|
||||
|
||||
public CursorManager(CursorProvider cursorProvider)
|
||||
{
|
||||
// Cursor settings are applied on game start
|
||||
hardwareCursorsDisabled = !Game.Settings.Graphics.HardwareCursors;
|
||||
hardwareCursorsDisabled = Game.Settings.Graphics.DisableHardwareCursors;
|
||||
|
||||
graphicSettings = Game.Settings.Graphics;
|
||||
sheetBuilder = new SheetBuilder(SheetType.BGRA);
|
||||
|
||||
@@ -154,8 +154,6 @@ namespace OpenRA
|
||||
[Desc("Screen resolution in windowed mode.")]
|
||||
public int2 WindowedSize = new int2(1024, 768);
|
||||
|
||||
public bool HardwareCursors = true;
|
||||
|
||||
public bool CursorDouble = false;
|
||||
public WorldViewport ViewportDistance = WorldViewport.Medium;
|
||||
|
||||
@@ -174,6 +172,9 @@ namespace OpenRA
|
||||
[Desc("Disable the OpenGL debug message callback feature.")]
|
||||
public bool DisableGLDebugMessageCallback = false;
|
||||
|
||||
[Desc("Disable operating-system provided cursor rendering.")]
|
||||
public bool DisableHardwareCursors = false;
|
||||
|
||||
[Desc("Use OpenGL ES if both ES and regular OpenGL are available.")]
|
||||
public bool PreferGLES = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user