summaryrefslogtreecommitdiff
path: root/src/port/interpolation/FrameInterpolation.cpp
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-05-23 22:49:06 +0000
committerGitHub <noreply@github.com>2025-05-23 16:49:06 -0600
commit9363e3d77631b1028a765c075a00293bd20c9ba7 (patch)
treeab10b69b18b3ecd2eab6d871340d296d0957f6d0 /src/port/interpolation/FrameInterpolation.cpp
parentaf4535c3c578425a456c8c34c42f10108f94fd1c (diff)
fix memory leaks, avoid invalidate texture (#207)
* Fixed macos * More stupid fixes * update with main and update torch and lus and enable action on this branch * Update FrameInterpolation.h * Update FrameInterpolation.cpp * fix some memory leak * Update torch * Update torch * update torch and lus * reduce texture import * don't use fork of torch and lus * Update torch * Update torch --------- Co-authored-by: Lywx <kiritodev01@gmail.com>
Diffstat (limited to 'src/port/interpolation/FrameInterpolation.cpp')
-rw-r--r--src/port/interpolation/FrameInterpolation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/port/interpolation/FrameInterpolation.cpp b/src/port/interpolation/FrameInterpolation.cpp
index c86f63089..836e6c70c 100644
--- a/src/port/interpolation/FrameInterpolation.cpp
+++ b/src/port/interpolation/FrameInterpolation.cpp
@@ -52,6 +52,11 @@ static bool invert_matrix(const float m[16], float invOut[16]);
using namespace std;
+extern "C" {
+extern Mat4* gInterpolationMatrix;
+void mtxf_translate(Mat4, Vec3f);
+}
+
namespace {
enum class Op {