diff options
author | lecoanet | 2003-05-09 15:01:50 +0000 |
---|---|---|
committer | lecoanet | 2003-05-09 15:01:50 +0000 |
commit | 78221195a8f1c5177a7bb0feb20fa2ce9b0575b7 (patch) | |
tree | f57349a7eb14f876af1da778716eb9576706d794 /generic/Map.c | |
parent | ff8ac5871c2df290674486ee560fd81d3de4240f (diff) | |
download | tkzinc-78221195a8f1c5177a7bb0feb20fa2ce9b0575b7.zip tkzinc-78221195a8f1c5177a7bb0feb20fa2ce9b0575b7.tar.gz tkzinc-78221195a8f1c5177a7bb0feb20fa2ce9b0575b7.tar.bz2 tkzinc-78221195a8f1c5177a7bb0feb20fa2ce9b0575b7.tar.xz |
*** empty log message ***
Diffstat (limited to 'generic/Map.c')
-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 */ |