misc changes
* draw_text_string_pos_extent_zoomed can now oversample text futher (if desired) * render_ui_via_box_tree has a rudimentary render pass layering optimization Add support for the slab allocator to accept arbitrary alignments (odin's map container needs it) Messing around with 64-byte alignment as the default for the allocator...
This commit is contained in:
@ -181,12 +181,12 @@ array_append_at_slice :: proc( using self : ^Array( $ Type ), items : []Type, id
|
||||
return AllocatorError.None
|
||||
}
|
||||
|
||||
array_back :: proc( self : Array($Type) ) -> Type {
|
||||
array_back :: #force_inline proc "contextless" ( self : Array($Type) ) -> Type {
|
||||
value := self.data[self.num - 1]
|
||||
return value
|
||||
}
|
||||
|
||||
array_push_back :: proc( using self : Array( $ Type)) -> b32 {
|
||||
array_push_back :: #force_inline proc "contextless" ( using self : Array( $ Type)) -> b32 {
|
||||
if num == capacity {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user