Fix Boot Splash
* Implements the code to show the boot splash on load using RenderingDevice * Does not work on X11 when maximized, some platform specific hack will be needed there.
This commit is contained in:
parent
cb4e42155d
commit
6e1c5e346a
2 changed files with 80 additions and 4 deletions
|
|
@ -50,6 +50,7 @@ protected:
|
|||
BLIT_MODE_NORMAL,
|
||||
BLIT_MODE_USE_LAYER,
|
||||
BLIT_MODE_LENS,
|
||||
BLIT_MODE_NORMAL_ALPHA,
|
||||
BLIT_MODE_MAX
|
||||
};
|
||||
|
||||
|
|
@ -88,7 +89,7 @@ public:
|
|||
RendererCanvasRender *get_canvas() { return canvas; }
|
||||
RendererSceneRender *get_scene() { return scene; }
|
||||
|
||||
void set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale, bool p_use_filter) {}
|
||||
void set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale, bool p_use_filter);
|
||||
|
||||
void initialize();
|
||||
void begin_frame(double frame_step);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue