projects
/
summerhack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c2019
)
fixed state leak in 3dengfx particle system when using point sprites
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 18 Dec 2022 23:29:12 +0000
(
01:29
+0200)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 18 Dec 2022 23:29:12 +0000
(
01:29
+0200)
src/3dengfx/src/3dengfx/psys.cpp
patch
|
blob
|
history
diff --git
a/src/3dengfx/src/3dengfx/psys.cpp
b/src/3dengfx/src/3dengfx/psys.cpp
index
2744ad9
..
c69440e
100644
(file)
--- 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);