You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix build with vuklan=no and d3d12=no after #91505.
This commit is contained in:
@@ -5201,10 +5201,11 @@ bool DisplayServerX11::is_window_transparency_available() const {
|
||||
if (XGetSelectionOwner(x11_display, net_wm_cm) == None) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#if defined(RD_ENABLED)
|
||||
if (rendering_device && !rendering_device->is_composite_alpha_supported()) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
return OS::get_singleton()->is_layered_allowed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user