diff --git a/src/SDL2.cs b/src/SDL2.cs index d915165..113aeca 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -710,6 +710,12 @@ namespace SDL2 [DllImport(nativeLibName)] public static extern void SDL_GL_DeleteContext(IntPtr context); + [DllImport(nativeLibName)] + public static extern IntPtr SDL_GL_GetProcAddress( + [InAttribute()] [MarshalAsAttribute(UnmanagedType.LPStr)] + string proc + ); + [DllImport(nativeLibName)] public static extern SDL_bool SDL_GL_ExtensionSupported( [InAttribute()] [MarshalAsAttribute(UnmanagedType.LPStr)]