mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-27 07:10:58 +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
|
struct CachedGlyphInfo
|
||||||
{
|
{
|
||||||
public readonly AlphaTexture2D Texture;
|
public readonly Texture2D Texture;
|
||||||
public readonly RectangleF RectangleNormalized;
|
public readonly RectangleF RectangleNormalized;
|
||||||
public Rectangle Rectangle
|
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].
|
// 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;
|
Texture = texture;
|
||||||
RectangleNormalized = new RectangleF(
|
RectangleNormalized = new RectangleF(
|
||||||
|
|
Loading…
Reference in a new issue