2
0
Эх сурвалжийг харах

float to bool variable type, fixes: #2478

firefly2442 10 жил өмнө
parent
commit
4621d30d1b

+ 1 - 1
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; }
 		};