diff options
author | Carsten Haitzler <raster@rasterman.com> | 2009-12-27 00:40:25 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2009-12-27 00:40:25 +0000 |
commit | c3f6caa568ed8980daf7ec8d64b1f49f723f9e3c (patch) | |
tree | 431ef0bcf40a386efe776955829b6f8cca402096 /legacy/evas/src/modules/engines/gl_x11/evas_engine.c | |
parent | 8c14ca031eb7c115c198813e8b830537d8d48490 (diff) |
gl -> polygons now work. slow - but does it matter?
SVN revision: 44724
Diffstat (limited to '')
-rw-r--r-- | legacy/evas/src/modules/engines/gl_x11/evas_engine.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/legacy/evas/src/modules/engines/gl_x11/evas_engine.c b/legacy/evas/src/modules/engines/gl_x11/evas_engine.c index 26f217cc1b..f8630c0622 100644 --- a/legacy/evas/src/modules/engines/gl_x11/evas_engine.c +++ b/legacy/evas/src/modules/engines/gl_x11/evas_engine.c | |||
@@ -363,8 +363,7 @@ eng_polygon_point_add(void *data, void *context __UNUSED__, void *polygon, int x | |||
363 | Render_Engine *re; | 363 | Render_Engine *re; |
364 | 364 | ||
365 | re = (Render_Engine *)data; | 365 | re = (Render_Engine *)data; |
366 | //--// return evas_gl_common_poly_point_add(polygon, x, y); | 366 | return evas_gl_common_poly_point_add(polygon, x, y); |
367 | return NULL; | ||
368 | } | 367 | } |
369 | 368 | ||
370 | static void * | 369 | static void * |
@@ -373,8 +372,7 @@ eng_polygon_points_clear(void *data, void *context __UNUSED__, void *polygon) | |||
373 | Render_Engine *re; | 372 | Render_Engine *re; |
374 | 373 | ||
375 | re = (Render_Engine *)data; | 374 | re = (Render_Engine *)data; |
376 | //--// return evas_gl_common_poly_points_clear(polygon); | 375 | return evas_gl_common_poly_points_clear(polygon); |
377 | return NULL; | ||
378 | } | 376 | } |
379 | 377 | ||
380 | static void | 378 | static void |
@@ -386,7 +384,7 @@ eng_polygon_draw(void *data, void *context, void *surface, void *polygon) | |||
386 | eng_window_use(re->win); | 384 | eng_window_use(re->win); |
387 | evas_gl_common_context_target_surface_set(re->win->gl_context, surface); | 385 | evas_gl_common_context_target_surface_set(re->win->gl_context, surface); |
388 | re->win->gl_context->dc = context; | 386 | re->win->gl_context->dc = context; |
389 | //--// evas_gl_common_poly_draw(re->win->gl_context, polygon); | 387 | evas_gl_common_poly_draw(re->win->gl_context, polygon); |
390 | } | 388 | } |
391 | 389 | ||
392 | static void | 390 | static void |