mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
17 lines
No EOL
389 B
C#
17 lines
No EOL
389 B
C#
using Brutal.GlfwApi;
|
|
using Brutal.Numerics;
|
|
|
|
if (!Glfw.Init())
|
|
throw new Exception("Failed to initialize GLFW");
|
|
|
|
Glfw.WindowHint(GlfwWindowHint.ClientApi, 0);
|
|
var window = Glfw.CreateWindow(new GlfwWindow.CreateInfo
|
|
{
|
|
Title = "ShiftFour, Bitch Please!",
|
|
Size = new int2(1280, 720),
|
|
});
|
|
|
|
while (!window.ShouldClose)
|
|
Glfw.PollEvents();
|
|
|
|
Glfw.Terminate(); |