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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue