GUI: vendor/device name for render backends

This commit is contained in:
tildearrow 2024-04-08 03:02:08 -05:00
parent 2020aba481
commit 484f6570aa
16 changed files with 326 additions and 8 deletions

View file

@ -46,10 +46,14 @@ namespace {
// ----------------------------------------------------------------------------
#pragma pack(push, 1)
struct ColorInt
union ColorInt
{
uint8_t r, g, b, a = 0;
ColorInt(const std::string &) {}
struct {
uint8_t r, g, b, a;
};
uint32_t u32;
ColorInt():
u32(0) {}
ColorInt &operator*=(const ColorInt &other)