From 49b98de97ad3fd1eabb83a26745c358159ba626d Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 12 Aug 2022 23:48:25 -0700 Subject: [PATCH] softgpu: Correct bad munmap() size. --- GPU/Software/TransformUnit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Software/TransformUnit.cpp b/GPU/Software/TransformUnit.cpp index 378b558bea..3719277141 100644 --- a/GPU/Software/TransformUnit.cpp +++ b/GPU/Software/TransformUnit.cpp @@ -46,7 +46,7 @@ TransformUnit::TransformUnit() { } TransformUnit::~TransformUnit() { - FreeMemoryPages(decoded_, DECODED_VERTEX_BUFFER_SIZE); + FreeMemoryPages(decoded_, TRANSFORM_BUF_SIZE); delete binner_; }