summaryrefslogtreecommitdiff
path: root/test/test-assetFactory.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-20 20:27:43 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-20 20:27:43 +0100
commitac05fbbc71282b059164b51efd68ee6e372870cb (patch)
treea505ed3e38a8e2419c1d706f45dd39873b627962 /test/test-assetFactory.cpp
parentExpose bufferName and count from InstanceVertices (diff)
downloadilt-ac05fbbc71282b059164b51efd68ee6e372870cb.tar.bz2
ilt-ac05fbbc71282b059164b51efd68ee6e372870cb.tar.xz
ilt-ac05fbbc71282b059164b51efd68ee6e372870cb.zip
Switch to render trees in bulk through foliage asset rendering
Diffstat (limited to 'test/test-assetFactory.cpp')
-rw-r--r--test/test-assetFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp
index 82543f3..817654b 100644
--- a/test/test-assetFactory.cpp
+++ b/test/test-assetFactory.cpp
@@ -108,7 +108,7 @@ BOOST_AUTO_TEST_CASE(foliage, *boost::unit_test::timeout(5))
BOOST_REQUIRE(tree_01_1_f);
auto plant = std::make_shared<Plant>(tree_01_1_f, Location {{-2, 2, 0}, {}});
- objects.objects.push_back(plant);
+ objects.objects.push_back(tree_01_1_f);
render(5);
}