const std = @import("std"); const sokol = @import("sokol"); const sg = sokol.gfx; const state = struct { var bind: sg.Bindings = .{}; var pip: sg.Pipeline = .{}; }; export fn frame() void {} export fn init() void {} export fn cleanup() void {} pub fn main() !void { sokol.app.run(.{ .init_cb = init, .frame_cb = frame, .cleanup_cb = cleanup, .width = 800, .height = 600, .icon = .{ .sokol_default = true }, .window_title = "sokol hello", .logger = .{ .func = sokol.log.func }, }); }