- 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
|
|
@ -40,7 +40,7 @@ IMPLEMENT_CLASS(DShape2D, false, false)
|
|||
DEFINE_ACTION_FUNCTION(DShape2D, Clear)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DShape2D);
|
||||
PARAM_INT(which);
|
||||
PARAM_INT_DEF(which);
|
||||
if ( which&C_Verts ) self->mVertices.Clear();
|
||||
if ( which&C_Coords ) self->mCoords.Clear();
|
||||
if ( which&C_Indices ) self->mIndices.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue