diff options
author | Tom Hacohen <tom@stosb.com> | 2011-05-29 13:56:23 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2011-05-29 13:56:23 +0000 |
commit | a8ddf9b1f803ab66148e8add73fea4be61dc8f83 (patch) | |
tree | 64c163f1f2ce68d75a7fc1c85867cc60ee0f73de /legacy/evas/src/modules/engines/gl_sdl/evas_engine.c | |
parent | 228c7548a4e8801650ab36af2ac7df0c91e648b7 (diff) |
Evas engines: Adjust all the rest of the engines to use Evas_Font_Set.
SVN revision: 59784
Diffstat (limited to '')
-rw-r--r-- | legacy/evas/src/modules/engines/gl_sdl/evas_engine.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c index 19bb6407f3..7aeee6084d 100644 --- a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c +++ b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c | |||
@@ -822,7 +822,7 @@ eng_image_scale_hint_get(void *data __UNUSED__, void *image) | |||
822 | } | 822 | } |
823 | 823 | ||
824 | static void | 824 | static void |
825 | eng_font_draw(void *data, void *context, void *surface, void *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const Evas_Text_Props *intl_props) | 825 | eng_font_draw(void *data, void *context, void *surface, Evas_Font_Set *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const Evas_Text_Props *intl_props) |
826 | { | 826 | { |
827 | Render_Engine *re; | 827 | Render_Engine *re; |
828 | 828 | ||
@@ -842,7 +842,8 @@ eng_font_draw(void *data, void *context, void *surface, void *font, int x, int y | |||
842 | evas_gl_font_texture_new, | 842 | evas_gl_font_texture_new, |
843 | evas_gl_font_texture_free, | 843 | evas_gl_font_texture_free, |
844 | evas_gl_font_texture_draw); | 844 | evas_gl_font_texture_draw); |
845 | evas_common_font_draw(im, context, font, x, y, intl_props); | 845 | evas_common_font_draw(im, context, (RGBA_Font *) font, x, y, |
846 | intl_props); | ||
846 | evas_common_draw_context_font_ext_set(context, | 847 | evas_common_draw_context_font_ext_set(context, |
847 | NULL, | 848 | NULL, |
848 | NULL, | 849 | NULL, |