mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Use corrent RefCounter
This commit is contained in:
@@ -3,6 +3,7 @@ using FreeType;
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using GlitchyEngine.Math;
|
using GlitchyEngine.Math;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
using GlitchyEngine.Core;
|
||||||
using static FreeType.HarfBuzz;
|
using static FreeType.HarfBuzz;
|
||||||
|
|
||||||
using internal GlitchyEngine.Renderer.Text;
|
using internal GlitchyEngine.Renderer.Text;
|
||||||
@@ -61,7 +62,7 @@ namespace GlitchyEngine.Renderer.Text
|
|||||||
FreeType.Done_FreeType(s_Library);
|
FreeType.Done_FreeType(s_Library);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PreparedText : RefCounted
|
public class PreparedText : RefCounter
|
||||||
{
|
{
|
||||||
//public List<PreparedLine> Lines ~ ClearAndDeleteItems!(_);
|
//public List<PreparedLine> Lines ~ ClearAndDeleteItems!(_);
|
||||||
public Font Font ~ _?.ReleaseRef();
|
public Font Font ~ _?.ReleaseRef();
|
||||||
|
|||||||
Reference in New Issue
Block a user