From 911023c68fa3e95c7563f08a712c9222e4ab6e73 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Fri, 10 Nov 2017 20:28:19 -0500 Subject: [PATCH] more experiments with mac render target --- 4ed_render_target.h | 2 -- platform_mac/mac_4ed.cpp | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/4ed_render_target.h b/4ed_render_target.h index b72825c5..0df2e289 100644 --- a/4ed_render_target.h +++ b/4ed_render_target.h @@ -13,8 +13,6 @@ #define FRED_RENDER_TARGET_H struct Render_Target{ - void *handle; - void *context; i32_Rect clip_boxes[5]; i32 clip_top; b32 clip_all; diff --git a/platform_mac/mac_4ed.cpp b/platform_mac/mac_4ed.cpp index edba1a4e..d9af2a6a 100644 --- a/platform_mac/mac_4ed.cpp +++ b/platform_mac/mac_4ed.cpp @@ -518,8 +518,8 @@ osx_step(void){ b32 keep_running = osxvars.keep_running; // NOTE(allen): Application Core Update - Render_Target fixed_target = target; - app.step(&sysfunc, &fixed_target, &memory_vars, &frame_input, &result); + //Render_Target fixed_target = target; + app.step(&sysfunc, &target, &memory_vars, &frame_input, &result); // NOTE(allen): Finish the Loop if (result.perform_kill){