Updated version, looking around in app_step

master
Allen Webster 2017-11-27 18:26:56 -05:00
parent 5e0670ed27
commit bf4198d910
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#define MAJOR 4
#define MINOR 0
#define PATCH 24
#define PATCH 25
// string
#define VN__(a,b,c) #a "." #b "." #c

View File

@ -1808,8 +1808,7 @@ App_Step_Sig(app_step){
i32 preserved_inputs = ArrayCount(debug->input_events) - count;
debug->this_frame_count = count;
memmove(events + count, events,
sizeof(Debug_Input_Event)*preserved_inputs);
memmove(events + count, events, sizeof(Debug_Input_Event)*preserved_inputs);
for (i32 i = 0; i < key_data.count; ++i){
Key_Event_Data key = get_single_key(&key_data, i);