From c38c0f5082bf023be79fde7152f3093c990030ac Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Fri, 3 Jun 2016 21:40:11 -0400 Subject: [PATCH] switch to new font system --- linux_4ed.cpp | 4 ++-- win32_4ed.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux_4ed.cpp b/linux_4ed.cpp index e45f3c2e..c6de9978 100644 --- a/linux_4ed.cpp +++ b/linux_4ed.cpp @@ -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); } diff --git a/win32_4ed.cpp b/win32_4ed.cpp index 4a96ceb2..3d2caed0 100644 --- a/win32_4ed.cpp +++ b/win32_4ed.cpp @@ -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); }