1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Deal with compiler warnings

This commit is contained in:
sfan5 2022-04-28 20:53:15 +02:00
parent faecff570c
commit a89afe1229
12 changed files with 30 additions and 30 deletions

View file

@ -31,10 +31,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "profiler.h"
ShadowRenderer::ShadowRenderer(IrrlichtDevice *device, Client *client) :
m_device(device), m_smgr(device->getSceneManager()),
m_driver(device->getVideoDriver()), m_client(client), m_current_frame(0),
m_smgr(device->getSceneManager()), m_driver(device->getVideoDriver()),
m_client(client), m_current_frame(0),
m_perspective_bias_xy(0.8), m_perspective_bias_z(0.5)
{
(void) m_client;
m_shadows_supported = true; // assume shadows supported. We will check actual support in initialize
m_shadows_enabled = true;