Skip to content

Commit

Permalink
Update arm_2d_scene_histogram.c
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Dec 2, 2024
1 parent 6f25aa8 commit 00ed30f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/common/scenes/histogram/arm_2d_scene_histogram.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ IMPL_PFB_ON_DRAW(__pfb_draw_scene_histogram_handler)

/*-----------------------draw the foreground end -----------------------*/
}
arm_2d_op_wait_async(NULL);

ARM_2D_OP_WAIT_ASYNC();

return arm_fsm_rt_cpl;
}
Expand Down Expand Up @@ -295,6 +296,8 @@ user_scene_histogram_t *__arm_2d_scene_histogram_init(
.fnBeforeSwitchOut = &__before_scene_histogram_switching_out,
.fnOnFrameCPL = &__on_scene_histogram_frame_complete,
.fnDepose = &__on_scene_histogram_depose,

.bUseDirtyRegionHelper = false;
},
.bUserAllocated = bUserAllocated,
};
Expand Down

0 comments on commit 00ed30f

Please sign in to comment.