- 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:
parent
ed856085f4
commit
7a692b1557
4 changed files with 9 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue