first of the sessons

This commit is contained in:
Andrew Schwantes 2026-10-26 01:55:55 -05:00
commit 792c97a23e

View file

@ -0,0 +1,17 @@
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();