exynos: font: use interpolate mode for blending

The interpolate mode is more suited for font rendering, even
if it produces slightly different results.
The main reason for switching is to avoid some conditionals
in the coming code improvements.
This commit is contained in:
Tobias Jakobi 2014-08-08 01:27:56 +02:00
parent 2312d488aa
commit 987da33104

View File

@ -1007,7 +1007,7 @@ static int exynos_blend_font(struct exynos_data *pdata) {
if (g2d_scale_and_blend(pdata->g2d, src, pdata->dst, 0, 0, if (g2d_scale_and_blend(pdata->g2d, src, pdata->dst, 0, 0,
src->width, src->height, offset, src->width, src->height, offset,
offset, pdata->width - offset, offset, pdata->width - offset,
pdata->height - offset, G2D_OP_OVER) || pdata->height - offset, G2D_OP_INTERPOLATE) ||
g2d_exec(pdata->g2d)) { g2d_exec(pdata->g2d)) {
RARCH_ERR("video_exynos: failed to blend font\n"); RARCH_ERR("video_exynos: failed to blend font\n");
return -1; return -1;