engine object changes

This commit is contained in:
peterino2 2026-01-03 14:05:30 -08:00
parent a06b0e6394
commit c36cae7db9
2 changed files with 1 additions and 5 deletions

View File

@ -162,7 +162,7 @@ pub const Engine = struct {
} }
const DebugSlack = struct { const DebugSlack = struct {
slack: [1024 * 16]u8 align(16) = undefined, slack: [1024 * 64]u8 align(16) = undefined,
}; };
// creates an engine object using the engine's allocator. // creates an engine object using the engine's allocator.

View File

@ -68,10 +68,6 @@ pub fn updateEngineVTable(comptime T: type) void {
vtable.* = T.NeonObjectTable; vtable.* = T.NeonObjectTable;
vtable.version = version + 1; vtable.version = version + 1;
if (@hasDecl(T, "objectReload")) {
core.get(T).objectReload();
}
} }
pub fn PatchStruct(comptime T: type, p: *T, old: []const FieldInfo) void { pub fn PatchStruct(comptime T: type, p: *T, old: []const FieldInfo) void {