Actually pass the allocator in so it's used instead of temp.
This commit is contained in:
@@ -627,7 +627,7 @@ emit_declaration :: (state : *Codegen_State, node : *AST_Node) {
|
||||
}
|
||||
}
|
||||
|
||||
codegen :: (result : *Compiler_Context) {
|
||||
codegen :: (result : *Compiler_Context, allocator := temp) {
|
||||
codegen(result, .HLSL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user