forked from enlightenment/efl
Evas text/textblock: Fixed warnings when frame_quening is on.
SVN revision: 59809
This commit is contained in:
parent
a403ca75c2
commit
44dec7a617
|
@ -369,7 +369,7 @@ evas_object_text_font_set(Evas_Object *obj, const char *font, Evas_Font_Size siz
|
|||
|
||||
#ifdef EVAS_FRAME_QUEUING
|
||||
if (o->font)
|
||||
evas_common_pipe_op_text_flush(o->font);
|
||||
evas_common_pipe_op_text_flush((RGBA_Font *) o->font);
|
||||
#endif
|
||||
|
||||
/* DO IT */
|
||||
|
@ -2050,7 +2050,7 @@ _evas_object_text_rehint(Evas_Object *obj)
|
|||
o = (Evas_Object_Text *)(obj->object_data);
|
||||
if (!o->font) return;
|
||||
#ifdef EVAS_FRAME_QUEUING
|
||||
evas_common_pipe_op_text_flush(o->font);
|
||||
evas_common_pipe_op_text_flush((RGBA_Font *) o->font);
|
||||
#endif
|
||||
evas_font_load_hinting_set(obj->layer->evas, o->font,
|
||||
obj->layer->evas->hinting);
|
||||
|
|
Loading…
Reference in New Issue