engine object changes
This commit is contained in:
parent
a06b0e6394
commit
c36cae7db9
|
|
@ -162,7 +162,7 @@ pub const Engine = 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.
|
||||
|
|
|
|||
|
|
@ -68,10 +68,6 @@ pub fn updateEngineVTable(comptime T: type) void {
|
|||
|
||||
vtable.* = T.NeonObjectTable;
|
||||
vtable.version = version + 1;
|
||||
|
||||
if (@hasDecl(T, "objectReload")) {
|
||||
core.get(T).objectReload();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn PatchStruct(comptime T: type, p: *T, old: []const FieldInfo) void {
|
||||
|
|
|
|||
Loading…
Reference in New Issue