mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 15:45:29 +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
|
||||
{
|
||||
class GlyphCache// : IGlyphCache
|
||||
class GlyphCache : IGlyphCache
|
||||
{
|
||||
#region Fields
|
||||
|
||||
|
@ -56,7 +56,7 @@ namespace OpenTK.Graphics.Text
|
|||
|
||||
#endregion
|
||||
|
||||
#region Public Members
|
||||
#region IGlyphCache Members
|
||||
|
||||
public void Add(Glyph glyph)
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace OpenTK.Graphics.Text
|
|||
interface IGlyphCache
|
||||
{
|
||||
void Add(Glyph glyph);
|
||||
void Contains(Glyph glyph);
|
||||
bool Contains(Glyph glyph);
|
||||
CachedGlyphInfo this[Glyph glyph] { get; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue