mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Draw checkerboard (or clear color) under embedded window.
This commit is contained in:
parent
c0ebba60de
commit
6a118b5027
4 changed files with 36 additions and 1 deletions
|
|
@ -3132,6 +3132,9 @@ Error Main::setup2(bool p_show_boot_logo) {
|
|||
// from --position and --resolution parameters.
|
||||
window_mode = DisplayServer::WINDOW_MODE_WINDOWED;
|
||||
window_flags = DisplayServer::WINDOW_FLAG_BORDERLESS_BIT;
|
||||
if (bool(GLOBAL_GET("display/window/size/transparent"))) {
|
||||
window_flags |= DisplayServer::WINDOW_FLAG_TRANSPARENT_BIT;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue