messing around with testing using keyword in proc args (with new debug support)

This commit is contained in:
2025-07-19 00:07:36 -04:00
parent fe8e84f9bd
commit 3769413a50
8 changed files with 31 additions and 32 deletions

View File

@ -69,14 +69,14 @@ append_staged_input_events :: #force_inline proc( event : InputEvent ) {
append( & state.staged_input_events, event )
}
pull_staged_input_events :: proc( input : ^InputState, input_events : ^InputEvents, staged_events : Array(InputEvent) )
pull_staged_input_events :: proc( input : ^InputState, using input_events : ^InputEvents, using staged_events : Array(InputEvent) )
{
// TODO(Ed) : Add guards for multi-threading
staged_events_slice := array_to_slice(staged_events)
push( & input_events.events, staged_events_slice )
using input_events
// using input_events
for event in staged_events_slice
{