Ejemplo n.º 1
0
        private IntPtr QuerySurfacePointer(IntPtr surface, int attrib)
        {
            IntPtr surface_pointer;

            if (Egl.QuerySurfacePointerANGLE(
                    Display, surface, attrib, out surface_pointer))
            {
                return(surface_pointer);
            }
            return(IntPtr.Zero);
        }