summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-03-16 13:23:37 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-03-16 13:23:37 +0000
commita859e60140ea130247ced25ca6e6022d2b429d3c (patch)
treefec7cc7516a8b828d1db86bf3582c5e88d5608fe /legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
parentbf9b51d12bfdaa25c57a09386abfa4976136ab86 (diff)
* evas: Make evas_object_move on Evas_Object_Polygon work.
TODO: Make evas_object_resize work also. SVN revision: 47291
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/modules/engines/gl_sdl/evas_engine.c4
1 files changed, 2 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 e2c8891993..c9e80887cc 100644
--- a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
+++ b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
@@ -320,14 +320,14 @@ eng_polygon_points_clear(void *data, void *context __UNUSED__, void *polygon)
320} 320}
321 321
322static void 322static void
323eng_polygon_draw(void *data, void *context, void *surface, void *polygon) 323eng_polygon_draw(void *data, void *context, void *surface, void *polygon, int x, int y)
324{ 324{
325 Render_Engine *re; 325 Render_Engine *re;
326 326
327 re = (Render_Engine *)data; 327 re = (Render_Engine *)data;
328 evas_gl_common_context_target_surface_set(re->gl_context, surface); 328 evas_gl_common_context_target_surface_set(re->gl_context, surface);
329 re->gl_context->dc = context; 329 re->gl_context->dc = context;
330 evas_gl_common_poly_draw(re->gl_context, polygon); 330 evas_gl_common_poly_draw(re->gl_context, polygon, x, y);
331} 331}
332 332
333static void 333static void