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
- Reviewers
wraitii - Commits
- rP19346: Fix a vertex shader data pielup in the actor editor. It was reloading the…
- Trac Tickets
- #2735
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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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.