summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-01-25 07:18:55 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:15:46 +0100
commitbed8980ca50cb6a197f37e3decaff963d5cedce1 (patch)
treeebbc9630b6b6bca7d12efb2d8b777b9928ba2be5 /servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp
parentee1e89f8c0dc4659a2ed4b5afd5e7c1c596f7af1 (diff)
Re-implemented screen space ambient occlusion
Diffstat (limited to 'servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp')
-rw-r--r--servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp b/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp
index 2d4675cfb3..cab501acb8 100644
--- a/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp
+++ b/servers/visual/rasterizer_rd/rasterizer_storage_rd.cpp
@@ -2052,7 +2052,7 @@ AABB RasterizerStorageRD::mesh_get_aabb(RID p_mesh, RID p_skeleton) {
AABB aabb;
- for (int i = 0; i < mesh->surface_count; i++) {
+ for (uint32_t i = 0; i < mesh->surface_count; i++) {
AABB laabb;
if ((mesh->surfaces[i]->format & VS::ARRAY_FORMAT_BONES) && mesh->surfaces[i]->bone_aabbs.size()) {