Added live error checking

This commit is contained in:
nothke
2024-07-04 16:23:16 +02:00
parent 2524dbf206
commit ac6cb02184
3 changed files with 32 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
const std = @import("std");
const sokol = @import("sokol");
const sg = sokol.gfx;
const Event = sokol.app.Event;
const shader = @import("shaders/triangle2.glsl.zig");
@@ -144,8 +144,6 @@ export fn cleanup() void {
std.log.info("Ended", .{});
}
const Event = sokol.app.Event;
export fn event(eptr: [*c]const Event) void {
const e: *const Event = @ptrCast(eptr);