Эх сурвалжийг харах

fixed wrong namespace

Former-commit-id: 07717ec13f3664fa06f1c429fff157a3bb89d1d5
Alec Jacobson 10 жил өмнө
parent
commit
ebb0469030

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

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