瀏覽代碼

fixed wrong namespace

Former-commit-id: 07717ec13f3664fa06f1c429fff157a3bb89d1d5
Alec Jacobson 10 年之前
父節點
當前提交
ebb0469030
共有 1 個文件被更改,包括 3 次插入3 次删除
  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;
 #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