diff --git a/Source/Engine/Debug/DebugDraw.cpp b/Source/Engine/Debug/DebugDraw.cpp index dccfcc206..077bf9b80 100644 --- a/Source/Engine/Debug/DebugDraw.cpp +++ b/Source/Engine/Debug/DebugDraw.cpp @@ -2147,6 +2147,6 @@ void DebugDraw::DrawText(const StringView& text, const Transform& transform, con void DebugDraw::Clear(void* context) { - DebugDraw::UpdateContext(nullptr, MAX_float); + DebugDraw::UpdateContext(context, MAX_float); } #endif