summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lx_display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lx_display.c b/src/lx_display.c
index 16403af..24e490f 100644
--- a/src/lx_display.c
+++ b/src/lx_display.c
@@ -182,6 +182,9 @@ lx_set_mode(ScrnInfoPtr pScrni, DisplayModePtr pMode, int bpp)
mode.src_width = pMode->HDisplay;
mode.src_height = pMode->VDisplay;
+ /* Set the filter coefficients to the default values */
+ vg_set_scaler_filter_coefficients(NULL, NULL);
+
ret = vg_set_custom_mode(&mode, bpp);
return (ret == CIM_STATUS_OK) ? 0 : -1;
}