mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
VST3: amend previous commit (fix setting color)
This commit is contained in:
parent
5c8458e377
commit
628d7491a8
1 changed files with 0 additions and 2 deletions
|
|
@ -3057,9 +3057,7 @@ VST3PI::setContextInfoValue (FIDString id, int32 value)
|
|||
return kResultOk;
|
||||
}
|
||||
if (0 == strcmp (id, ContextInfo::kColor)) {
|
||||
#if BYTEORDER == kBigEndian
|
||||
SWAP_32 (value) // ABGR32 -> RGBA32
|
||||
#endif
|
||||
s->presentation_info ().set_color (value);
|
||||
} else if (0 == strcmp (id, ContextInfo::kSelected)) {
|
||||
std::shared_ptr<Stripable> stripable = s->session ().stripable_by_id (s->id ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue