Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 internal extern static unsafe int eglDebugMessageControlKHR(DebugProcKHR callback, IntPtr *attrib_list);