From c33525381ec972c27043ec48676e275327010169 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Oct 2020 18:13:45 +0200 Subject: [PATCH] - undid the native part of GetFullscreenRect because the functions are not compatible. --- source/common/2d/v_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/2d/v_draw.cpp b/source/common/2d/v_draw.cpp index 6a02f0a32..ff8074b06 100644 --- a/source/common/2d/v_draw.cpp +++ b/source/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);