vsync'd modesetting!

This commit is contained in:
Jackson Netherwood-Imig
2026-01-26 10:30:40 -08:00
parent 13b38e4967
commit f40252c485
5 changed files with 362 additions and 116 deletions
+5
View File
@@ -20,4 +20,9 @@ pub fn build(b: *std.Build) void {
});
example.root_module.addImport("drm", drm);
b.installArtifact(example);
const test_exe = b.addTest(.{ .root_module = drm });
const run_tests = b.addRunArtifact(test_exe);
const test_step = b.step("test", "Run tests.");
test_step.dependOn(&run_tests.step);
}