Need to do a PtrToString on this first.

This commit is contained in:
Ethan Lee 2013-04-11 19:10:15 -04:00
parent d4d6dff87c
commit 14aabb792a

View file

@ -913,7 +913,7 @@ namespace SDL2
[StructLayout(LayoutKind.Sequential)]
public unsafe struct SDL_RendererInfo
{
public string name; // const char*
public IntPtr name; // const char*
public uint flags;
public uint num_texture_formats;
public fixed uint texture_formats[16];