Преглед на файлове

fixed exception throw using fthrow

Johannes Ruehle преди 12 години
родител
ревизия
73115b3875
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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
 
 }