- added DTA_LegacyRenderStyle so that STYLE_* constants can be passed directly to the Draw functions.

- fixed the optional parameter in Shape2D.Clear.
This commit is contained in:
Christoph Oelckers 2018-07-14 22:58:24 +02:00
commit 7a692b1557
4 changed files with 9 additions and 3 deletions

View file

@ -839,6 +839,10 @@ bool DFrameBuffer::ParseDrawTextureTags(FTexture *img, double x, double y, uint3
parms->style.AsDWORD = ListGetInt(tags);
break;
case DTA_LegacyRenderStyle: // mainly for ZScript which does not handle FRenderStyle that well.
parms->style = (ERenderStyle)ListGetInt(tags);
break;
case DTA_SpecialColormap:
parms->specialcolormap = ListGetSpecialColormap(tags);
break;