We need to restart the game to change the quality. So the patch improve this.
It calls CreateTexture when the quality was changed. It doesn't cost much, because the same function is called when the window size changed.
Differential D804
Change shadow quality without game restart vladislavbelov on Aug 19 2017, 9:52 PM. Authored by
Details
We need to restart the game to change the quality. So the patch improve this. It calls CreateTexture when the quality was changed. It doesn't cost much, because the same function is called when the window size changed.
Diff Detail
Event TimelineComment Actions A config value per frame sounds like too much work. The config get values call contains a loop. Comment Actions Build is green Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Checking XML files... http://jw:8080/job/phabricator/1883/ for more details. Comment Actions Tried to implement @elexis 's suggestion about notifying. Current state of option.js is pretty much hardcoded. Comment Actions Build is green Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Checking XML files... http://jw:8080/job/phabricator/1884/ for more details. Comment Actions It's a very good patch. Really like seeing the shadow quality changed instantly. Thanks.
|