Added live error checking
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user