Skip to content

Commit

Permalink
- do not use the GetFullscreenRect function as a native scripting fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
coelckers committed Oct 24, 2020
1 parent bc2b0a0 commit 838733a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/2d/v_draw.cpp
Expand Up @@ -418,7 +418,7 @@ void GetFullscreenRect(double width, double height, int fsmode, DoubleRect* rect
CalcFullscreenScale(&parms, width, height, fsmode, *rect);
}

DEFINE_ACTION_FUNCTION_NATIVE(_Screen, GetFullscreenRect, GetFullscreenRect)
DEFINE_ACTION_FUNCTION(_Screen, GetFullscreenRect)
{
PARAM_PROLOGUE;
PARAM_FLOAT(virtw);
Expand Down

0 comments on commit 838733a

Please sign in to comment.