Browse Source

Fix the deprecation list UI to respect love.setDeprecationOutput.

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
d35f69bcff
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/modules/graphics/Deprecations.cpp

+ 3 - 0
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())