mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Minor rendering code fixes (#15399)
* Fix line numbers in shader errors * Fix uninitialized variables in shadow code
This commit is contained in:
parent
a5e3fca40c
commit
af61de7777
3 changed files with 10 additions and 10 deletions
|
@ -21,8 +21,9 @@
|
|||
|
||||
ShadowRenderer::ShadowRenderer(IrrlichtDevice *device, Client *client) :
|
||||
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)
|
||||
m_client(client), m_shadow_strength(0.0f), m_shadow_tint(255, 0, 0, 0),
|
||||
m_time_day(0.0f), m_force_update_shadow_map(false), m_current_frame(0),
|
||||
m_perspective_bias_xy(0.8f), m_perspective_bias_z(0.5f)
|
||||
{
|
||||
(void) m_client;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue