- fixed misnamed variable and removed restriction for draw pass in GetFullscreenRect.
This commit is contained in:
parent
9a994482b1
commit
756caede51
2 changed files with 2 additions and 4 deletions
|
|
@ -417,8 +417,6 @@ DEFINE_ACTION_FUNCTION(_Screen, GetFullscreenRect)
|
|||
PARAM_FLOAT(virth);
|
||||
PARAM_INT(fsmode);
|
||||
|
||||
if (!twod->HasBegun2D()) ThrowAbortException(X_OTHER, "Attempt to draw to screen outside a draw function");
|
||||
|
||||
DrawParms parms;
|
||||
DoubleRect rect;
|
||||
parms.viewport.width = twod->GetWidth();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue