summaryrefslogtreecommitdiff
path: root/src/main.zig
blob: ea12f00d562d1b4b78775fa30817c7d141ff2afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const std = @import("std");
const zxc = @import("zxc.zig");

pub fn main() !void {
    var z = try zxc.init(.{
        .width = 400,
        .height = 224,
        .target_fps = 60,
    });
    defer z.deinit();

    try z.drawBegin();
    try z.drawEnd();
}