Fix SDL-only build of gauges.cpp
Even when empty and default-constructible, const members must be
explicitly constructed. Add a default constructor to do this.
Fixes: 893e8cde06
("Combine hud gauge parameters")
This commit is contained in:
parent
da268c6d21
commit
1da76dde7d
|
@ -554,6 +554,11 @@ struct hud_draw_context_xyscale
|
|||
xscale(x), yscale(y)
|
||||
{
|
||||
}
|
||||
#else
|
||||
constexpr hud_draw_context_xyscale() :
|
||||
xscale{}, yscale{}
|
||||
{
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue