diff --git a/src/internal_debug.zig b/src/internal_debug.zig index 63e96c5fe..6e0ab4f1e 100644 --- a/src/internal_debug.zig +++ b/src/internal_debug.zig @@ -10,5 +10,5 @@ pub inline fn assertInitialized() void { if (is_debug) std.debug.assert(glfw_initialized); } pub inline fn assumeInitialized() void { - glfw_initialized = true; + if (is_debug) glfw_initialized = true; }