소스 검색

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