Skip to content

Commit

Permalink
ArxGame: Disable color keying for particles that don't need it
Browse files Browse the repository at this point in the history
Fixes: issue #1595 (for fog, fire smoke, water and lava)
  • Loading branch information
dscharrer committed Jan 12, 2022
1 parent 65a871e commit 71a9bf9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Expand Up @@ -38,6 +38,10 @@ Debugging:

* Added a new entity visibility debug HUD under F11

Performance:

* Fixed excessively slow performance with "Crisp" alpha cutout antialiasing (bug #1595)

################################################################################

= Arx Libertatis 1.2 "Mega Mega Mega" (2021-07-13) =
Expand Down
8 changes: 4 additions & 4 deletions src/core/ArxGame.cpp
Expand Up @@ -520,14 +520,14 @@ static void LoadSysTextures() {

spellDataInit();

enviro = TextureContainer::LoadUI("graph/particles/enviro");
enviro = TextureContainer::LoadUI("graph/particles/enviro", TextureContainer::NoColorKey);

ARX_INTERFACE_DrawNumberInit();
initLightFlares();
ombrignon = TextureContainer::LoadUI("graph/particles/ombrignon");
TC_fire = TextureContainer::LoadUI("graph/particles/fire");
TC_fire2 = TextureContainer::LoadUI("graph/particles/fire2");
TC_smoke = TextureContainer::LoadUI("graph/particles/smoke");
TC_fire = TextureContainer::LoadUI("graph/particles/fire", TextureContainer::NoColorKey);
TC_fire2 = TextureContainer::LoadUI("graph/particles/fire2", TextureContainer::NoColorKey);
TC_smoke = TextureContainer::LoadUI("graph/particles/smoke", TextureContainer::NoColorKey);
Boom = TextureContainer::LoadUI("graph/particles/boom");
arx_logo_tc = TextureContainer::LoadUI("graph/interface/icons/arx_logo_32");

Expand Down

0 comments on commit 71a9bf9

Please sign in to comment.