diff --git a/realsense2_camera/include/gl_window.h b/realsense2_camera/include/gl_window.h index aa7555cf7c..a1cebb7af8 100644 --- a/realsense2_camera/include/gl_window.h +++ b/realsense2_camera/include/gl_window.h @@ -41,6 +41,7 @@ class GLwindow : _width(width), _height(height) { glfwInit(); + glfwWindowHint(GLFW_VISIBLE, 0); win = glfwCreateWindow(width, height, title, nullptr, nullptr); if (!win) throw std::runtime_error("Could not open OpenGL window, please check your graphic drivers or use the textual SDK tools");