Merge pull request #10196 from RoosterDragon/hardware-cursoring
More graceful hardware cursor failing
This commit is contained in:
@@ -336,7 +336,6 @@ namespace OpenRA
|
|||||||
Console.WriteLine("Error was: " + e.Message);
|
Console.WriteLine("Error was: " + e.Message);
|
||||||
|
|
||||||
Cursor = new SoftwareCursor(ModData.CursorProvider);
|
Cursor = new SoftwareCursor(ModData.CursorProvider);
|
||||||
Settings.Graphics.HardwareCursors = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ namespace OpenRA.Platforms.Default
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new InvalidDataException("Failed to create hardware cursor `{0}`".F(name), ex);
|
throw new InvalidDataException("Failed to create hardware cursor `{0}` - {1}".F(name, ex.Message), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user