Explorar el Código

fixed exception throw using fthrow

Johannes Ruehle hace 12 años
padre
commit
73115b3875
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      core/imagedisplay/ImageDisplay.cpp

+ 2 - 2
core/imagedisplay/ImageDisplay.cpp

@@ -308,7 +308,7 @@ void ImageDisplay::paintGL() {
     glDisable ( GL_BLEND );
     glFlush();
 #else
-	  throw std::exception("GLUT lib not availabe, recompile using GLUT!");
+	 fthrow(Exception,"GLUT lib not availabe, recompile using GLUT!");
 #endif
   }
 
@@ -322,7 +322,7 @@ void ImageDisplay::setGLProjection ( void ) {
   glLoadIdentity();
   gluOrtho2D ( 0.0, ( GLdouble ) width(), 0.0, ( GLdouble ) height() );
 #else
-	  throw std::exception("GLUT lib not availabe, recompile using GLUT!");
+	  fthrow(Exception,"GLUT lib not availabe, recompile using GLUT!");
 #endif
 
 }