From b4461449d6d790262e2734b61ab8e71fe4ab08d1 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Fri, 10 Nov 2017 20:24:44 -0500 Subject: [PATCH] Mac target fixing --- platform_mac/mac_4ed.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform_mac/mac_4ed.cpp b/platform_mac/mac_4ed.cpp index 864a0e30..edba1a4e 100644 --- a/platform_mac/mac_4ed.cpp +++ b/platform_mac/mac_4ed.cpp @@ -518,7 +518,8 @@ osx_step(void){ b32 keep_running = osxvars.keep_running; // NOTE(allen): Application Core Update - app.step(&sysfunc, &target, &memory_vars, &frame_input, &result); + Render_Target fixed_target = target; + app.step(&sysfunc, &fixed_target, &memory_vars, &frame_input, &result); // NOTE(allen): Finish the Loop if (result.perform_kill){