more experiments with mac render target
This commit is contained in:
parent
b4461449d6
commit
911023c68f
|
@ -13,8 +13,6 @@
|
||||||
#define FRED_RENDER_TARGET_H
|
#define FRED_RENDER_TARGET_H
|
||||||
|
|
||||||
struct Render_Target{
|
struct Render_Target{
|
||||||
void *handle;
|
|
||||||
void *context;
|
|
||||||
i32_Rect clip_boxes[5];
|
i32_Rect clip_boxes[5];
|
||||||
i32 clip_top;
|
i32 clip_top;
|
||||||
b32 clip_all;
|
b32 clip_all;
|
||||||
|
|
|
@ -518,8 +518,8 @@ osx_step(void){
|
||||||
b32 keep_running = osxvars.keep_running;
|
b32 keep_running = osxvars.keep_running;
|
||||||
|
|
||||||
// NOTE(allen): Application Core Update
|
// NOTE(allen): Application Core Update
|
||||||
Render_Target fixed_target = target;
|
//Render_Target fixed_target = target;
|
||||||
app.step(&sysfunc, &fixed_target, &memory_vars, &frame_input, &result);
|
app.step(&sysfunc, &target, &memory_vars, &frame_input, &result);
|
||||||
|
|
||||||
// NOTE(allen): Finish the Loop
|
// NOTE(allen): Finish the Loop
|
||||||
if (result.perform_kill){
|
if (result.perform_kill){
|
||||||
|
|
Loading…
Reference in New Issue