From d35f69bcff96b50e5a4f3b6ae1cc24b65be30740 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 27 Aug 2017 21:56:07 -0300 Subject: [PATCH] Fix the deprecation list UI to respect love.setDeprecationOutput. --HG-- branch : minor --- src/modules/graphics/Deprecations.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/graphics/Deprecations.cpp b/src/modules/graphics/Deprecations.cpp index 70b8e60a4..939215dd0 100644 --- a/src/modules/graphics/Deprecations.cpp +++ b/src/modules/graphics/Deprecations.cpp @@ -44,6 +44,9 @@ Deprecations::~Deprecations() void Deprecations::draw(Graphics *gfx) { + if (!isDeprecationOutputEnabled()) + return; + GetDeprecated deprecations; if (deprecations.all.empty())