From 838733af4a1c6cef24cf9f2488f073b5c2454f24 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Oct 2020 21:19:20 +0200 Subject: [PATCH] - do not use the GetFullscreenRect function as a native scripting function --- src/common/2d/v_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/2d/v_draw.cpp b/src/common/2d/v_draw.cpp index 6a02f0a32b6..ff8074b066b 100644 --- a/src/common/2d/v_draw.cpp +++ b/src/common/2d/v_draw.cpp @@ -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);