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:
clayjohn 2022-11-08 13:48:43 -08:00
parent e25d9281d4
commit 4aab9cbdfc

View file

@ -97,7 +97,7 @@ private:
uint32_t type; uint32_t type;
uint32_t texture_index; //texture index for vector field uint32_t texture_index; //texture index for vector field
real_t scale; float scale;
uint32_t pad[2]; uint32_t pad[2];
}; };
@ -106,8 +106,8 @@ private:
float prev_system_phase; float prev_system_phase;
uint32_t cycle; uint32_t cycle;
real_t explosiveness; float explosiveness;
real_t randomness; float randomness;
float time; float time;
float delta; float delta;