- moved renderstyle and colortables code to 'common'.

This commit is contained in:
Christoph Oelckers 2020-04-11 19:02:14 +02:00
commit 3e285d2261
18 changed files with 128 additions and 87 deletions

View file

@ -2302,3 +2302,9 @@ FSerializer &Serialize(FSerializer &arc, const char *key, NumericValue &value, N
}
return arc;
}
#include "renderstyle.h"
FSerializer& Serialize(FSerializer& arc, const char* key, FRenderStyle& style, FRenderStyle* def)
{
return arc.Array(key, &style.BlendOp, def ? &def->BlendOp : nullptr, 4);
}