Esempio n. 1
0
 public Window(int width, int height, GraphicsMode mode, string title = "", GameWindowFlags options = GameWindowFlags.Default)
 {
     Width        = width;
     Height       = height;
     NativeWindow = new GameWindow(width, height, mode, title, options);
     _context     = new VisualContext(this);
     Initialize();
 }
Esempio n. 2
0
 public Window(int width, int height)
 {
     Width        = width;
     Height       = height;
     NativeWindow = new GameWindow(width, height);
     _context     = new VisualContext(this);
     Initialize();
 }