Browse Source

Merge branch 'master' of github.com:libigl/libigl

Former-commit-id: 089b46fd9a50df345d8f9801ff3e6ce98074e2af
Alec Jacobson 10 years ago
parent
commit
c3211f5371
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/igl/opengl2/project.cpp

+ 3 - 3
include/igl/opengl2/project.cpp

@@ -38,7 +38,7 @@ IGL_INLINE int igl::opengl2::project(
     "];"<<endl;
     "];"<<endl;
 #endif
 #endif
 #ifndef NDEBUG
 #ifndef NDEBUG
-  igl::opengl2::report_gl_error();
+  igl::opengl::report_gl_error();
 #endif
 #endif
 
 
   glGetDoublev(GL_PROJECTION_MATRIX, P);
   glGetDoublev(GL_PROJECTION_MATRIX, P);
@@ -52,7 +52,7 @@ IGL_INLINE int igl::opengl2::project(
     "];"<<endl;
     "];"<<endl;
 #endif
 #endif
 #ifndef NDEBUG
 #ifndef NDEBUG
-  igl::opengl2::report_gl_error();
+  igl::opengl::report_gl_error();
 #endif
 #endif
 
 
   glGetIntegerv(GL_VIEWPORT, VP);
   glGetIntegerv(GL_VIEWPORT, VP);
@@ -63,7 +63,7 @@ IGL_INLINE int igl::opengl2::project(
     "];"<<endl;
     "];"<<endl;
 #endif
 #endif
 #ifndef NDEBUG
 #ifndef NDEBUG
-  igl::opengl2::report_gl_error();
+  igl::opengl::report_gl_error();
 #endif
 #endif
 
 
 #ifdef EXTREME_VERBOSE
 #ifdef EXTREME_VERBOSE