]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/level_editor/undo_history.h
(#1075) Add z reordering support to RectLayer
[nothing.git] / src / game / level / level_editor / undo_history.h
index bb9f1b65214cd27f9024474509b0b8ff11fdac9c..f9623f38f9c7f9bbc06608a49847ec81f94f8f22 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "stack.h"
 
-typedef void (*RevertAction)(void *layer, void *context, size_t context_size);
+typedef void (*RevertAction)(void *context, size_t context_size);
 
 typedef struct {
     Stack actions;
@@ -16,7 +16,6 @@ void destroy_undo_history(UndoHistory undo_history)
 }
 
 void undo_history_push(UndoHistory *undo_history,
-                       void *layer,
                        RevertAction revert,
                        void *context_data,
                        size_t context_data_size);