Fixes the "memory leak" caused by reloading shaders too often -- where new vertex data is created everytime the shaders are reloaded, which under normal circumstances isn't problematic. However, in the actor viewer the shaders where reloaded every frame, which caused a pileup over vertex data.
Details
Details
Test that changing graphics options in-game and the actor viewer in Atlas work as expected.
Diff Detail
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Branch
- fix-actorviewer
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 351 Build 567: Vulcan Build Jenkins Build 566: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
Updating workspaces. Build (release)... Build (debug)... Running debug tests... Running cxxtest tests (302 tests)..............................................................................................................................................................................................................................................................................................................OK!
http://jw:8080/job/phabricator/241/ for more details.
Comment Actions
Build is green
Updating workspaces. Build (release)... Build (debug)... Running debug tests... Running cxxtest tests (302 tests)..............................................................................................................................................................................................................................................................................................................OK!
http://jw:8080/job/phabricator/242/ for more details.
Comment Actions
Mh, thanks for reminding me, at the moment of writing that comment I kind of forgot that echotangoecho does not have commit access.