Watch
2
0
Fork
You've already forked raylib-cs
0

Big unsafe update 1

This commit is contained in:
Rgebee 2021-11-11 12:00:42 +00:00
commit e5400d0bae
10 changed files with 97 additions and 107 deletions

View file

@ -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;
}
}