1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-27 05:45:18 +01:00

Fix some smaller issues with texture/image handling

This commit is contained in:
sfan5
2024-11-08 13:15:20 +01:00
parent 4aae31ad5e
commit 58ccf0ba82
6 changed files with 44 additions and 28 deletions

View File

@@ -17,6 +17,7 @@
namespace irr::video
{
class IVideoDriver;
class IImage;
}
class IShaderSource;
@@ -200,10 +201,10 @@ private:
u64 m_seed = 0;
irr_ptr<scene::SMeshBuffer> m_stars;
video::ITexture *m_sun_texture;
video::ITexture *m_moon_texture;
video::ITexture *m_sun_tonemap;
video::ITexture *m_moon_tonemap;
video::ITexture *m_sun_texture = nullptr;
video::ITexture *m_moon_texture = nullptr;
video::IImage *m_sun_tonemap = nullptr;
video::IImage *m_moon_tonemap = nullptr;
void updateStars();