2
0
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:
2021-11-11 12:00:42 +00:00
parent bb7ceb2102
commit e5400d0bae
10 changed files with 97 additions and 107 deletions

View File

@@ -70,7 +70,7 @@ namespace Raylib_cs
/// Shader type (generic)
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Shader
public unsafe struct Shader
{
/// <summary>
/// Shader program id
@@ -80,6 +80,6 @@ namespace Raylib_cs
/// <summary>
/// Shader locations array (MAX_SHADER_LOCATIONS, int *)
/// </summary>
public IntPtr locs;
public int* locs;
}
}