- do not use the GetFullscreenRect function as a native scripting function

This commit is contained in:
Christoph Oelckers 2020-10-24 21:19:20 +02:00
parent bc2b0a0252
commit 838733af4a

View file

@ -418,7 +418,7 @@ void GetFullscreenRect(double width, double height, int fsmode, DoubleRect* rect
CalcFullscreenScale(&parms, width, height, fsmode, *rect); CalcFullscreenScale(&parms, width, height, fsmode, *rect);
} }
DEFINE_ACTION_FUNCTION_NATIVE(_Screen, GetFullscreenRect, GetFullscreenRect) DEFINE_ACTION_FUNCTION(_Screen, GetFullscreenRect)
{ {
PARAM_PROLOGUE; PARAM_PROLOGUE;
PARAM_FLOAT(virtw); PARAM_FLOAT(virtw);