GUI: vendor/device name for render backends
This commit is contained in:
parent
2020aba481
commit
484f6570aa
16 changed files with 326 additions and 8 deletions
10
extern/imgui_software_renderer/imgui_sw.cpp
vendored
10
extern/imgui_software_renderer/imgui_sw.cpp
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue