1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Debloat IVideoDriver and IrrlichtDevice includes (#15080)

As the project grows, compile time will not go down unless the header mess
is cleaned up one by one to only include exactly what's needed.
This commit is contained in:
SmallJoker 2024-08-31 11:44:30 +02:00 committed by GitHub
parent a6ba5304c4
commit efd7792add
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 139 additions and 79 deletions

View file

@ -75,12 +75,7 @@ public:
virtual void OnRegisterSceneNode() override;
virtual void render() override
{
video::IVideoDriver* driver = SceneManager->getVideoDriver();
driver->setTransform(video::ETS_WORLD, AbsoluteTransformation);
renderMap(driver, SceneManager->getSceneNodeRenderPass());
}
virtual void render() override;
virtual const aabb3f &getBoundingBox() const override
{