浏览代码

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
 
 }