mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 11:15:29 +00:00
Use base Texture2D instead of AlphaTexture2D.
This commit is contained in:
parent
8e7348d085
commit
d840251dbd
|
@ -34,7 +34,7 @@ namespace OpenTK.Graphics
|
|||
{
|
||||
struct CachedGlyphInfo
|
||||
{
|
||||
public readonly AlphaTexture2D Texture;
|
||||
public readonly Texture2D Texture;
|
||||
public readonly RectangleF RectangleNormalized;
|
||||
public Rectangle Rectangle
|
||||
{
|
||||
|
@ -49,7 +49,7 @@ namespace OpenTK.Graphics
|
|||
}
|
||||
|
||||
// Rect denotes the absolute position of the glyph in the texture [0, Texture.Width], [0, Texture.Height].
|
||||
public CachedGlyphInfo(AlphaTexture2D texture, Rectangle rect)
|
||||
public CachedGlyphInfo(Texture2D texture, Rectangle rect)
|
||||
{
|
||||
Texture = texture;
|
||||
RectangleNormalized = new RectangleF(
|
||||
|
|
Loading…
Reference in a new issue