diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Map.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/generic/Map.c b/generic/Map.c index 74a67ba..1efda00 100644 --- a/generic/Map.c +++ b/generic/Map.c @@ -1336,18 +1336,14 @@ Render(ZnItem item) glColor4us(color->red, color->green, color->blue, alpha); if (map->filled) { if (ZnListSize(map->vectors) || ZnListSize(map->arcs)) { + /* TODO_GL: Need to have a tesselated polygon then + * fill it either using ZnRenderTile or solid. + */ if (map->fill_pattern != ZnUnspecifiedImage) { /* Fill stippled */ - glEnable(GL_POLYGON_STIPPLE); - glPolygonStipple(ZnImageMask(map->fill_pattern, NULL)); } - cnt = ZnListSize(map->vectors); - if (cnt) { - /* TODO_GL: Need to have a tesselated polygon */ - } - if (ZnListSize(map->arcs)) { + else { } - glDisable(GL_POLYGON_STIPPLE); } } else { /* Not filled */ |