Updated version, looking around in app_step
parent
5e0670ed27
commit
bf4198d910
|
@ -1,6 +1,6 @@
|
||||||
#define MAJOR 4
|
#define MAJOR 4
|
||||||
#define MINOR 0
|
#define MINOR 0
|
||||||
#define PATCH 24
|
#define PATCH 25
|
||||||
|
|
||||||
// string
|
// string
|
||||||
#define VN__(a,b,c) #a "." #b "." #c
|
#define VN__(a,b,c) #a "." #b "." #c
|
||||||
|
|
3
4ed.cpp
3
4ed.cpp
|
@ -1808,8 +1808,7 @@ App_Step_Sig(app_step){
|
||||||
i32 preserved_inputs = ArrayCount(debug->input_events) - count;
|
i32 preserved_inputs = ArrayCount(debug->input_events) - count;
|
||||||
|
|
||||||
debug->this_frame_count = count;
|
debug->this_frame_count = count;
|
||||||
memmove(events + count, events,
|
memmove(events + count, events, sizeof(Debug_Input_Event)*preserved_inputs);
|
||||||
sizeof(Debug_Input_Event)*preserved_inputs);
|
|
||||||
|
|
||||||
for (i32 i = 0; i < key_data.count; ++i){
|
for (i32 i = 0; i < key_data.count; ++i){
|
||||||
Key_Event_Data key = get_single_key(&key_data, i);
|
Key_Event_Data key = get_single_key(&key_data, i);
|
||||||
|
|
Loading…
Reference in New Issue