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_; }