mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-29 21:07:01 +00:00
IGlyphCache.Contains should return bool, not void.
GlyphCache now implements the IGlyphCache interface.
This commit is contained in:
parent
afa76c9894
commit
a26b75f3af
|
@ -31,7 +31,7 @@ using System.Drawing;
|
||||||
|
|
||||||
namespace OpenTK.Graphics.Text
|
namespace OpenTK.Graphics.Text
|
||||||
{
|
{
|
||||||
class GlyphCache// : IGlyphCache
|
class GlyphCache : IGlyphCache
|
||||||
{
|
{
|
||||||
#region Fields
|
#region Fields
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ namespace OpenTK.Graphics.Text
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Public Members
|
#region IGlyphCache Members
|
||||||
|
|
||||||
public void Add(Glyph glyph)
|
public void Add(Glyph glyph)
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace OpenTK.Graphics.Text
|
||||||
interface IGlyphCache
|
interface IGlyphCache
|
||||||
{
|
{
|
||||||
void Add(Glyph glyph);
|
void Add(Glyph glyph);
|
||||||
void Contains(Glyph glyph);
|
bool Contains(Glyph glyph);
|
||||||
CachedGlyphInfo this[Glyph glyph] { get; }
|
CachedGlyphInfo this[Glyph glyph] { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue