summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2019-08-03 01:11:05 -0700
committerAaron Franke <arnfranke@yahoo.com>2019-08-03 01:11:05 -0700
commit1a06496f4583010f74517e549cc6e9722c5c75c6 (patch)
tree8eaa4bb62c90c0649d36e5f89f08eee6e11f03db /drivers
parent4d08f72b767fa8ea9c3118b48a205dc87417df2e (diff)
Some Vector2i usage cleanup
Replace casting Vector2 -> Vector2i -> Vector2 with a simple call to .floor(), and some minor fixes.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles2/rasterizer_canvas_gles2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_canvas_gles2.h b/drivers/gles2/rasterizer_canvas_gles2.h
index af41e91e0c..ab636dca71 100644
--- a/drivers/gles2/rasterizer_canvas_gles2.h
+++ b/drivers/gles2/rasterizer_canvas_gles2.h
@@ -84,7 +84,7 @@ public:
Transform2D skeleton_transform;
Transform2D skeleton_transform_inverse;
- Vector2i skeleton_texture_size;
+ Size2i skeleton_texture_size;
RID current_tex;
RID current_normal;