From c70633e5d14d8368ece8f9188977a4dd70712c6a Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 31 Jan 2014 10:40:10 -0800 Subject: [PATCH] don't render any audio stats if no _audioOutput, closes #1783 --- interface/src/Audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Audio.cpp b/interface/src/Audio.cpp index e42947bf8c..9fede84a93 100644 --- a/interface/src/Audio.cpp +++ b/interface/src/Audio.cpp @@ -539,7 +539,7 @@ void Audio::toggleMute() { } void Audio::render(int screenWidth, int screenHeight) { - if (_audioInput) { + if (_audioInput && _audioOutput) { glLineWidth(2.0); glBegin(GL_LINES); glColor3f(.93f, .93f, .93f);