mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-04 12:47:56 +03:00
Fixed crash on AMD related to snow effect
This commit is contained in:
+4
-1
@@ -6314,8 +6314,11 @@ static void snow_particle_init(bool change_stage) {
|
||||
i.direction = 0.0f;
|
||||
}
|
||||
|
||||
if (change_stage)
|
||||
if (change_stage) {
|
||||
snow_ssbo.Destroy();
|
||||
snow_ssbo.Create(sizeof(snow_particle_vertex_data) * snow->num_snow);
|
||||
return;
|
||||
}
|
||||
|
||||
snow_particle_free();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user