From 3f8f761e9f2030af5128ff45aec9e44fefe3f82b Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Mon, 19 Dec 2022 01:29:12 +0200 Subject: [PATCH] fixed state leak in 3dengfx particle system when using point sprites --- src/3dengfx/src/3dengfx/psys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.4