- fixed the BarShader texture.

Even though unlikely, this should work as a regular texture because it can be used as such.
As a result of the above, true color generation needs to be done explicitly now.
This commit is contained in:
Christoph Oelckers 2018-03-18 12:54:40 +01:00
commit 494504229f
3 changed files with 36 additions and 16 deletions

View file

@ -139,10 +139,9 @@ union FRenderStyle
bool IsVisible(double alpha) const throw();
private:
// Code that compares an actor's render style with a legacy render
// style value should be updated. Making these conversion operators
// private will catch those cases.
operator ERenderStyle() const { return STYLE_Normal; }
operator int() const { return STYLE_Normal; }
// style value should be updated.
operator ERenderStyle() = delete;
operator int() const = delete;
};
extern FRenderStyle LegacyRenderStyles[STYLE_Count];