mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-11 06:25:26 +00:00
(GX) VIDEO_SetTrapFilter not run every frame now
This commit is contained in:
parent
d7fd90883b
commit
4eb04a682c
@ -410,6 +410,7 @@ static void rgui_settings_toggle_setting(rgui_file_type_t setting, rgui_action_t
|
||||
#ifdef HW_RVL
|
||||
case RGUI_SETTINGS_VIDEO_SOFT_FILTER:
|
||||
g_console.soft_display_filter_enable = !g_console.soft_display_filter_enable;
|
||||
gx->should_resize = true;
|
||||
break;
|
||||
#endif
|
||||
case RGUI_SETTINGS_VIDEO_GAMMA:
|
||||
|
@ -429,14 +429,13 @@ static bool wii_frame(void *data, const void *frame,
|
||||
if(!frame && !menu_render)
|
||||
return true;
|
||||
|
||||
#ifdef HW_RVL
|
||||
VIDEO_SetTrapFilter(g_console.soft_display_filter_enable);
|
||||
#endif
|
||||
|
||||
gx->frame_count++;
|
||||
|
||||
if(should_resize)
|
||||
{
|
||||
#ifdef HW_RVL
|
||||
VIDEO_SetTrapFilter(g_console.soft_display_filter_enable);
|
||||
#endif
|
||||
GX_SetDispCopyGamma(g_console.gamma_correction);
|
||||
gx->should_resize = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user