summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordan Crouse <jordan@cosmicpenguin.net>2008-11-25 11:36:03 -0700
committerJordan Crouse <jordan@cosmicpenguin.net>2008-11-25 11:36:03 -0700
commitf57f2bd7161d4a7c2ededfc43a7709fb06213b99 (patch)
tree57f8cc11f4ed3ba0b56cb40cef619c3f5ad8132b /src
parentd7f73aca763eb2fa918c3e5a27e264aa14f653d1 (diff)
LX: Set default scaling coefficients
Systems without a traditional BIOS may not have the default scaling coefficients set up - make sure that we force them on when the mode gets set.
Diffstat (limited to 'src')
-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;
}