mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Big unsafe update 1
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Raylib_cs
|
||||
/// Font, font texture and GlyphInfo array data
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Font
|
||||
public unsafe struct Font
|
||||
{
|
||||
/// <summary>
|
||||
/// Base size (default chars height)
|
||||
@@ -85,11 +85,11 @@ namespace Raylib_cs
|
||||
/// <summary>
|
||||
/// Rectangles in texture for the glyphs
|
||||
/// </summary>
|
||||
public IntPtr recs;
|
||||
public Rectangle* recs;
|
||||
|
||||
/// <summary>
|
||||
/// Glyphs info data
|
||||
/// </summary>
|
||||
public IntPtr glyphs;
|
||||
public GlyphInfo* glyphs;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user