Fix MSVC build in _ShowGpu initializers
“A default member initializer is not allowed for a member of an anonymous struct within a union.”
This commit is contained in:
parent
472fe89165
commit
bf208df81f
|
@ -598,11 +598,9 @@ extern struct TCommonSettings
|
|||
bool spu_advanced = true;
|
||||
|
||||
struct _ShowGpu {
|
||||
_ShowGpu() : main(true), sub(true) {}
|
||||
union {
|
||||
struct {
|
||||
bool main = true;
|
||||
bool sub = true;
|
||||
};
|
||||
struct { bool main, sub; };
|
||||
bool screens[2];
|
||||
};
|
||||
} showGpu;
|
||||
|
|
Loading…
Reference in New Issue