summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorfirefly2442 <firefly2442@gmail.com>2015-10-18 19:49:30 -0500
committerfirefly2442 <firefly2442@gmail.com>2015-10-18 19:49:30 -0500
commit4621d30d1b63c510c9928d073ef88be5b59248c0 (patch)
tree250cae893de47260a3373c1abfc3132d1076ebf1 /servers/visual
parent6637a865187422b5b8303231dd43a38a5f5abd51 (diff)
float to bool variable type, fixes: #2478
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/rasterizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h
index 15c757665b..5063c1e19b 100644
--- a/servers/visual/rasterizer.h
+++ b/servers/visual/rasterizer.h
@@ -690,7 +690,7 @@ public:
Rect2 rect;
RID texture;
float margin[4];
- float draw_center;
+ bool draw_center;
Color color;
CommandStyle() { draw_center=true; type = TYPE_STYLE; }
};