Exemple #1
0
        public ISystemOpenGL.Context? GetCurrentGLContext()
        {
            var ptr = GLFW.GetCurrentContext();

            if (ptr != IntPtr.Zero)
            {
                return(glContexts[ptr]);
            }

            return(null);
        }