Bladeren bron

fixed exception throw using fthrow

Johannes Ruehle 12 jaren geleden
bovenliggende
commit
73115b3875
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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
 
 }