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

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