public static int KHR(DebugProcKHR callback, IntPtr[] attrib_list) { int retValue; unsafe { fixed(IntPtr *p_attrib_list = attrib_list) { Debug.Assert(Delegates.peglDebugMessageControlKHR != null, "peglDebugMessageControlKHR not implemented"); retValue = Delegates.peglDebugMessageControlKHR(callback, p_attrib_list); LogCommand("eglDebugMessageControlKHR", retValue, callback, attrib_list); } } DebugCheckErrors(retValue); return(retValue); }
internal extern static unsafe int eglDebugMessageControlKHR(DebugProcKHR callback, IntPtr *attrib_list);