mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 04:15:44 +02:00
Deal with compiler warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -109,7 +109,6 @@ private:
|
||||
void enable() { m_shadows_enabled = m_shadows_supported; }
|
||||
|
||||
// a bunch of variables
|
||||
IrrlichtDevice *m_device{nullptr};
|
||||
scene::ISceneManager *m_smgr{nullptr};
|
||||
video::IVideoDriver *m_driver{nullptr};
|
||||
Client *m_client{nullptr};
|
||||
|
Reference in New Issue
Block a user