summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-11 10:42:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-11 10:42:24 +0100
commit2608e71ecaa171ee6608c40d8a89866aeeb1ee3a (patch)
tree797357b1df3941e9ba2c5f146621f2fde9e7b7b4 /servers
parentf646a2c7463d5f4e7dc7f667ae5705c08eb4e1d3 (diff)
parent4aab9cbdfcc735647af5caec56c8fc738c1de693 (diff)
Merge pull request #68425 from clayjohn/RD-doubles-particles
Fix GPUParticles not rendering in doubles build of the engine.
Diffstat (limited to 'servers')
-rw-r--r--servers/rendering/renderer_rd/storage_rd/particles_storage.h6
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;