You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
union RenderPassClearValue {
Color color = {};
struct {
float depth;
uint32_t stencil;
};
};
Since Color does not have a default constructor, it results in the following message:
servers/rendering/rendering_device_driver.h(538): note: 'RenderingDeviceDriver::RenderPassClearValue::RenderPassClearValue(void)': function was implicitly deleted because 'RenderingDeviceDriver::RenderPassClearValue' has a variant data member 'RenderingDeviceDriver::RenderPassClearValue::color' with a non-trivial default constructor
Steps to reproduce
Install MSVC 2017
Clone master
Build using SCons
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
Introduced in #83452
System information
Windows, MSVC 2017
Issue description
This union is causing an issue:
Since
Color
does not have a default constructor, it results in the following message:Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: