Exemple #1
0
        public static GlfwWindow CreateWindow()
        {
            GlfwVidMode videoMode = GetVideoMode(GetPrimaryMonitor());

            WindowHint(WindowAttrib.Decorated, 0);
            WindowHint(WindowAttrib.Resizable, 0);

            return(GlfwCore.glfwCreateWindow(videoMode.Width, videoMode.Height, string.Empty, GlfwMonitor.Null, GlfwWindow.Null));
        }
Exemple #2
0
 public static GlfwWindow CreateWindow(int width, int height, string title)
 {
     return(GlfwCore.glfwCreateWindow(width, height, title, GlfwMonitor.Null, GlfwWindow.Null));
 }