diff options
author | clayjohn <claynjohn@gmail.com> | 2022-11-08 13:48:43 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-11-09 08:58:04 -0800 |
commit | 4aab9cbdfcc735647af5caec56c8fc738c1de693 (patch) | |
tree | 6b16b401cc7e60d0b21b75555a0a742b7b3577ab /servers/rendering | |
parent | e25d9281d4f6f0b5b4d972b25cddaa1009ad1d26 (diff) |
Fix GPUParticles not rendering in doubles build of the engine.
real_t was mistakenly used in uniform structs causing a mismatch between the GPU uniform and the CPU uniform
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/renderer_rd/storage_rd/particles_storage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/rendering/renderer_rd/storage_rd/particles_storage.h b/servers/rendering/renderer_rd/storage_rd/particles_storage.h index 6478e2b5dc..a9cc98abb9 100644 --- a/servers/rendering/renderer_rd/storage_rd/particles_storage.h +++ b/servers/rendering/renderer_rd/storage_rd/particles_storage.h @@ -97,7 +97,7 @@ private: uint32_t type; uint32_t texture_index; //texture index for vector field - real_t scale; + float scale; uint32_t pad[2]; }; @@ -106,8 +106,8 @@ private: float prev_system_phase; uint32_t cycle; - real_t explosiveness; - real_t randomness; + float explosiveness; + float randomness; float time; float delta; |