mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 14:59:14 +02:00
don't render any audio stats if no _audioOutput, closes #1783
This commit is contained in:
parent
0badc02a93
commit
c70633e5d1
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ void Audio::toggleMute() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Audio::render(int screenWidth, int screenHeight) {
|
void Audio::render(int screenWidth, int screenHeight) {
|
||||||
if (_audioInput) {
|
if (_audioInput && _audioOutput) {
|
||||||
glLineWidth(2.0);
|
glLineWidth(2.0);
|
||||||
glBegin(GL_LINES);
|
glBegin(GL_LINES);
|
||||||
glColor3f(.93f, .93f, .93f);
|
glColor3f(.93f, .93f, .93f);
|
||||||
|
|
Loading…
Reference in a new issue