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

@ -119,12 +119,12 @@ namespace Raylib_cs
/// Image, pixel data stored in CPU memory (RAM)
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Image
public unsafe struct Image
{
/// <summary>
/// Image raw data (void *)
/// Image raw data
/// </summary>
public IntPtr data;
public void* data;
/// <summary>
/// Image base width