summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-03-21 11:32:19 +0000
committeronelin <oscar@nelin.dk>2025-03-21 11:32:19 +0000
commit4e3de52226b2a247ea5da6240ae5e58a4cf95018 (patch)
tree37526fd35a46dc7371145fc2b4fff938b25cb142 /src/core
parent7e887d8c7a2b79be986e17f455cade65d30af64a (diff)
Memset 0 drawcalls
Diffstat (limited to 'src/core')
-rw-r--r--src/core/src/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/src/state.c b/src/core/src/state.c
index 9b1e14c..a206cbb 100644
--- a/src/core/src/state.c
+++ b/src/core/src/state.c
@@ -90,6 +90,7 @@ void* State_free(StateType type, memory* mem) {
return state_retval;
}
+/* Returns the update function of a given state type */
StateType (*State_updateFunc(StateType type))(f64, void*) {
switch (type) {
#ifdef DAW_BUILD_HOTRELOAD