summaryrefslogtreecommitdiff
path: root/test/test-render.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-05-06 16:42:08 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-05-06 16:42:08 +0100
commit72ab29786f6d4c97a92cb95c75091537490e2d0f (patch)
tree18bf013e3be660b0769cd1a601e670eb79355324 /test/test-render.cpp
parentRefactor InstanceVertices in terms of glContainer (diff)
downloadilt-72ab29786f6d4c97a92cb95c75091537490e2d0f.tar.bz2
ilt-72ab29786f6d4c97a92cb95c75091537490e2d0f.tar.xz
ilt-72ab29786f6d4c97a92cb95c75091537490e2d0f.zip
Templated BufferedLocation and single buffer storage for RVC locations
Diffstat (limited to 'test/test-render.cpp')
-rw-r--r--test/test-render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp
index 4bfcad2..0d384a3 100644
--- a/test/test-render.cpp
+++ b/test/test-render.cpp
@@ -21,9 +21,9 @@
#include <ui/window.h>
class TestScene : public SceneProvider {
- std::shared_ptr<RailVehicle> train1, train2;
const RailVehicleClassPtr brush47rvc = std::dynamic_pointer_cast<RailVehicleClass>(
AssetFactory::loadXML(RESDIR "/brush47.xml")->assets.at("brush-47"));
+ std::shared_ptr<RailVehicle> train1, train2;
Terrain terrain {[]() {
auto gd = std::make_shared<GeoData>(GeoData::Limits {{0, 0}, {100, 100}});