fixed linux build issue

master
Allen Webster 2016-09-09 12:47:07 -04:00
parent 6eacad6221
commit 5a20959c5b
3 changed files with 3 additions and 2 deletions

View File

@ -2636,7 +2636,7 @@ App_Step_Sig(app_step){
else{
mouse_position = clamp(0, my, models->layout.full_height);
}
divider->pos = layout_compute_position(&models->layout, divider, );
divider->pos = layout_compute_position(&models->layout, divider, mouse_position);
}
layout_fix_all_panels(&models->layout);

1
4ed.h
View File

@ -34,6 +34,7 @@ struct Key_Input_Data{
char modifiers[MDFR_INDEX_COUNT];
};
static Key_Input_Data null_key_input_data = {0};
struct Key_Summary{
i32 count;

View File

@ -3464,7 +3464,7 @@ main(int argc, char **argv)
flush_thread_group(BACKGROUND_THREADS);
linuxvars.input.first_step = 0;
linuxvars.input.keys = key_input_data_zero();
linuxvars.input.keys = null_key_input_data;
linuxvars.input.mouse.press_l = 0;
linuxvars.input.mouse.release_l = 0;
linuxvars.input.mouse.press_r = 0;