don't render any audio stats if no _audioOutput, closes #1783

This commit is contained in:
Stephen Birarda 2014-01-31 10:40:10 -08:00
parent 0badc02a93
commit c70633e5d1

View file

@ -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);