mirror of
https://github.com/godotengine/godot.git
synced 2025-02-05 21:41:47 +08:00
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
This commit is contained in:
parent
e25d9281d4
commit
4aab9cbdfc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user