Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Equalizer: handle initialization failures properly.

  • Loading branch information...
commit c7aa104ddd38931c08e4a413e98d1f4c6f64aace 1 parent 9321ce8
Martin Lambers marlam authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/player_equalizer.cpp
4 src/player_equalizer.cpp
View
@@ -395,7 +395,7 @@ class eq_config : public eq::Config
if (getCanvases().size() < 1)
{
msg::err("no canvas in Equalizer configuration");
- abort();
+ return false;
}
float canvas_w = getCanvases()[0]->getWall().getWidth();
float canvas_h = getCanvases()[0]->getWall().getHeight();
@@ -826,7 +826,7 @@ class eq_window : public eq::Window
"GL_VERSION_2_1 GL_EXT_framebuffer_object"))
{
msg::err("This OpenGL implementation does not support OpenGL 2.1 and framebuffer objects");
- abort();
+ return false;
}
// Disable some things that Equalizer seems to enable for some reason.
Please sign in to comment.
Something went wrong with that request. Please try again.