mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix black loading screen background if menu_clouds = false
(#13322)
This commit is contained in:
parent
d1e5dbefc7
commit
2a1bc82887
5 changed files with 15 additions and 36 deletions
|
@ -46,6 +46,7 @@ class RenderingCore;
|
|||
class RenderingEngine
|
||||
{
|
||||
public:
|
||||
static const video::SColor MENU_SKY_COLOR;
|
||||
static const float BASE_BLOOM_STRENGTH;
|
||||
|
||||
RenderingEngine(IEventReceiver *eventReceiver);
|
||||
|
@ -113,9 +114,8 @@ public:
|
|||
|
||||
void draw_load_screen(const std::wstring &text,
|
||||
gui::IGUIEnvironment *guienv, ITextureSource *tsrc,
|
||||
float dtime = 0, int percent = 0, bool clouds = true);
|
||||
float dtime = 0, int percent = 0, bool sky = true);
|
||||
|
||||
void draw_menu_scene(gui::IGUIEnvironment *guienv, float dtime, bool clouds);
|
||||
void draw_scene(video::SColor skycolor, bool show_hud,
|
||||
bool show_minimap, bool draw_wield_tool, bool draw_crosshair);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue