summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index ac4ddd1..74aaec6 100644
--- a/main.cpp
+++ b/main.cpp
@@ -99,7 +99,7 @@ MainFunction(main_sdl *Main, memory *Memory,
CalculateKeyframesLinearly(File->CurrentFrame, &Layer->Property[r]);
}
}
- Layer_UpdateBitmap(Layer, Memory, File->CurrentFrame);
+ Layer_UpdateBitmap(File, Layer, Memory, File->CurrentFrame);
}
}
State->UpdateKeyframes = false;
@@ -262,7 +262,6 @@ int main(int argc, char *argv[]) {
LoadTestFootage(&File, &State, &Memory);
- Assert(0);
#if DEBUG
// GDB and LLDB say this plain struct that's literally under 30 bytes is
@@ -462,7 +461,9 @@ int main(int argc, char *argv[]) {
ImGui_PropertiesPanel(&File, &State, &UI, &Memory);
ImGui_Timeline(&File, &State, &Memory, &UI, io);
+
#if DEBUG
+ ImGui_DebugUndoTree(&File, &Memory);
if (Debug.ToggleWindow) {
ImGui::ShowDemoWindow();
ImGui_DebugMemoryViewer(&File, &Memory);