1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Release shadow mapping resources when not needed (#12497)

This commit is contained in:
x2048 2022-07-09 22:26:39 +02:00 committed by GitHub
parent b15393c2a5
commit 7c261118e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 33 deletions

View file

@ -51,6 +51,8 @@ struct NodeToApply
class ShadowRenderer
{
public:
static const int TEXTURE_LAYER_SHADOW = 3;
ShadowRenderer(IrrlichtDevice *device, Client *client);
~ShadowRenderer();