summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2012-07-23 11:59:18 +0000
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2012-07-23 11:59:18 +0000
commit8381ac5f551909f499c69541bed5fd0956df78d6 (patch)
tree859639e1bf85337bf964a6bc2f3bc6b629c1a507 /legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
parentcedbafac1464731fcc59193b7295a3cfdecce7a0 (diff)
Evas: Implement scale_hint_get/set for gl_sdl
SVN revision: 74323
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/modules/engines/gl_sdl/evas_engine.c5
1 files changed, 4 insertions, 1 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 b8ed5206da..c032ad14b6 100644
--- a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
+++ b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
@@ -807,6 +807,7 @@ eng_image_draw(void *data, void *context, void *surface, void *image, int src_x,
807static void 807static void
808eng_image_scale_hint_set(void *data __UNUSED__, void *image, int hint) 808eng_image_scale_hint_set(void *data __UNUSED__, void *image, int hint)
809{ 809{
810 if (image) evas_gl_common_image_scale_hint_set(image, hint);
810} 811}
811 812
812static void 813static void
@@ -876,7 +877,9 @@ eng_image_map_surface_free(void *data __UNUSED__, void *surface)
876static int 877static int
877eng_image_scale_hint_get(void *data __UNUSED__, void *image) 878eng_image_scale_hint_get(void *data __UNUSED__, void *image)
878{ 879{
879 return EVAS_IMAGE_SCALE_HINT_NONE; 880 Evas_GL_Image *gim = image;
881 if (!gim) return EVAS_IMAGE_SCALE_HINT_NONE;
882 return gim->scale_hint;
880} 883}
881 884
882static void 885static void