From: John Tsiombikas Date: Sun, 18 Dec 2022 23:29:12 +0000 (+0200) Subject: fixed state leak in 3dengfx particle system when using point sprites X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=3f8f761e9f2030af5128ff45aec9e44fefe3f82b;p=summerhack fixed state leak in 3dengfx particle system when using point sprites --- diff --git a/src/3dengfx/src/3dengfx/psys.cpp b/src/3dengfx/src/3dengfx/psys.cpp index 2744ad9..c69440e 100644 --- a/src/3dengfx/src/3dengfx/psys.cpp +++ b/src/3dengfx/src/3dengfx/psys.cpp @@ -395,8 +395,8 @@ void ParticleSystem::draw() const { if(psys_params.billboard_tex) { if(use_psprites) { - set_point_sprites(true); - set_point_sprite_coords(0, true); + set_point_sprites(false); + set_point_sprite_coords(0, false); } set_texture_addressing(0, TEXADDR_WRAP, TEXADDR_WRAP); disable_texture_unit(0);