mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #86730 from reduz/64-bit-cowdata
Promote CowData to 64 bits
This commit is contained in:
commit
0bcc0e92b3
10 changed files with 145 additions and 114 deletions
|
|
@ -1988,7 +1988,7 @@ void LightStorage::shadow_atlas_set_size(RID p_atlas, int p_size, bool p_16_bits
|
|||
for (int i = 0; i < 4; i++) {
|
||||
//clear subdivisions
|
||||
shadow_atlas->quadrants[i].shadows.clear();
|
||||
shadow_atlas->quadrants[i].shadows.resize(1 << shadow_atlas->quadrants[i].subdivision);
|
||||
shadow_atlas->quadrants[i].shadows.resize(int64_t(1) << int64_t(shadow_atlas->quadrants[i].subdivision));
|
||||
}
|
||||
|
||||
//erase shadow atlas reference from lights
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue