switch to new font system

master
Allen Webster 2016-06-03 21:40:11 -04:00
parent 9b4f29d4a7
commit c38c0f5082
2 changed files with 4 additions and 4 deletions

View File

@ -1136,8 +1136,8 @@ INTERNAL_Sys_Debug_Message_Sig(internal_debug_message){
internal f32
size_change(i32 dpi_x, i32 dpi_y){
// TODO(allen): We're just hoping dpi_x == dpi_y for now I guess.
f32 size_x = linuxvars.dpi_x / 96.f;
f32 size_y = linuxvars.dpi_y / 96.f;
f32 size_x = dpi_x / 96.f;
f32 size_y = dpi_y / 96.f;
f32 size_max = Max(size_x, size_y);
return(size_max);
}

View File

@ -1147,8 +1147,8 @@ Sys_CLI_End_Update_Sig(system_cli_end_update){
internal f32
size_change(i32 dpi_x, i32 dpi_y){
// TODO(allen): We're just hoping dpi_x == dpi_y for now I guess.
f32 size_x = win32vars.dpi_x / 96.f;
f32 size_y = win32vars.dpi_y / 96.f;
f32 size_x = dpi_x / 96.f;
f32 size_y = dpi_y / 96.f;
f32 size_max = Max(size_x, size_y);
return(size_max);
}