evas: use the right function with freetype backend.

This commit is contained in:
Cedric BAIL 2015-06-16 17:22:42 +02:00
parent 9c36323c15
commit 7a1da35e22
1 changed files with 10 additions and 1 deletions

View File

@ -3734,7 +3734,16 @@ eng_ector_end(void *data EINA_UNUSED, void *context EINA_UNUSED, void *surface E
}
else
{
eo_do(_software_ector, ector_cairo_software_surface_set(NULL, 0, 0));
if (use_cairo)
{
eo_do(_software_ector,
ector_cairo_software_surface_set(NULL, 0, 0));
}
else
{
eo_do(_software_ector,
ector_software_surface_set(NULL, 0, 0));
}
evas_common_cpu_end_opt();
}