mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
Remove unused _cogl_memory_stack_rewind
Never used in mutter AFAICT. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
parent
935cb48f71
commit
0363f68561
@ -40,8 +40,5 @@ _cogl_memory_stack_new (size_t initial_size_bytes);
|
||||
void *
|
||||
_cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes);
|
||||
|
||||
void
|
||||
_cogl_memory_stack_rewind (CoglMemoryStack *stack);
|
||||
|
||||
void
|
||||
_cogl_memory_stack_free (CoglMemoryStack *stack);
|
||||
|
@ -162,15 +162,6 @@ _cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes)
|
||||
return sub_stack->data;
|
||||
}
|
||||
|
||||
void
|
||||
_cogl_memory_stack_rewind (CoglMemoryStack *stack)
|
||||
{
|
||||
stack->sub_stack = _cogl_container_of (stack->sub_stacks.next,
|
||||
CoglMemorySubStack,
|
||||
link);
|
||||
stack->sub_stack_offset = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
_cogl_memory_sub_stack_free (CoglMemorySubStack *sub_stack)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user