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

minor viewer fix

Former-commit-id: c36d7651cd8340f38eda3df5dd257bd690703508
Daniele Panozzo 9 жил өмнө
parent
commit
6c9786e010

+ 2 - 2
include/igl/viewer/Viewer.cpp

@@ -820,8 +820,8 @@ namespace viewer
 
   IGL_INLINE bool Viewer::launch_rendering(bool loop)
   {
-    glfwMakeContextCurrent(window);
-    
+    // glfwMakeContextCurrent(window);
+
     // Rendering loop
     while (!glfwWindowShouldClose(window))
     {