Merge pull request #10196 from RoosterDragon/hardware-cursoring

More graceful hardware cursor failing
This commit is contained in:
Paul Chote
2015-12-12 12:55:53 +00:00
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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);
} }
} }