summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.h
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-01-01 11:39:07 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-01-01 11:40:14 +0100
commit1591677eb8b8a08a8e9c1308b73171f59c24d2b8 (patch)
tree28ddf56bc7c8b1bda484d7de1d27b08959138744 /servers/visual/rasterizer.h
parent406dac1917eaa002fe27128c161ae681f59a556d (diff)
Fixed antialiasing option for Polygon2D
Some cases were not handled properly for Polygon2D after making changes in common code to fix Line2D antialiasing. Added an option for drawing polygons to differentiate the two use cases. Fixes #34568
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r--servers/visual/rasterizer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h
index 9aaebefd80..afb77556fc 100644
--- a/servers/visual/rasterizer.h
+++ b/servers/visual/rasterizer.h
@@ -782,6 +782,7 @@ public:
RID normal_map;
int count;
bool antialiased;
+ bool antialiasing_use_indices;
CommandPolygon() {
type = TYPE_POLYGON;