(GX) VIDEO_SetTrapFilter not run every frame now

This commit is contained in:
Twinaphex 2012-08-08 23:25:41 +02:00
parent d7fd90883b
commit 4eb04a682c
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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;
}