From 131c793f32a8a4839cfa07899855f565ae0e3ef4 Mon Sep 17 00:00:00 2001 From: Dario Brescianini Date: Fri, 2 Nov 2018 16:40:50 +0100 Subject: [PATCH] =?UTF-8?q?hiding=20glfw=20window=20when=20rendering=20wit?= =?UTF-8?q?h=20openg=C3=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imp/imp_opengl_renderer/src/opengl_renderer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/event_camera_simulator/imp/imp_opengl_renderer/src/opengl_renderer.cpp b/event_camera_simulator/imp/imp_opengl_renderer/src/opengl_renderer.cpp index e91b4ff..e3ba3ae 100644 --- a/event_camera_simulator/imp/imp_opengl_renderer/src/opengl_renderer.cpp +++ b/event_camera_simulator/imp/imp_opengl_renderer/src/opengl_renderer.cpp @@ -44,6 +44,7 @@ void OpenGLRenderer::init() glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); + glfwWindowHint(GLFW_VISIBLE, GL_FALSE); #ifdef __APPLE__ glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // uncomment this statement to fix compilation on OS X