-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this commit I removed creating new instance of Text class everytime when text was drawn. Now, when drawing begins, new instance of Text class is created, and then drawing text is just changing properties of it and at end of drawing this text is disposed. Simple enought, and I think it speeded up things a bit. Also, removed empty try of getting font kerning, what was not used anywhere in MeasureText sub.
- Loading branch information
Showing
2 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Properties> | ||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> | ||
<MonoDevelop.Ide.Workbench ActiveDocument="Gwen.SFML\Renderer.cs"> | ||
<Files> | ||
<File FileName="Gwen.SFML\Input.cs" Line="1" Column="1" /> | ||
<File FileName="Gwen.SFML\Renderer.cs" Line="142" Column="22" /> | ||
</Files> | ||
</MonoDevelop.Ide.Workbench> | ||
<MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<BreakpointStore /> | ||
</MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<MonoDevelop.Ide.DebuggingService.PinnedWatches /> | ||
</Properties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters