At the moment, I render everything in my OpenGL application to a single framebuffer (color only, no depth buffer). I then go from the texture ID and read out some data to use it. My problem is, in the init, I first init the GLFW window, make it visible calling
glfwShowWindow(window); and then create the frame buffer. This means I have an empty window showing up where nothing is rendered.
But when I comment this line to keep the window hidden, the frame buffer status after creation is
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT. How do I go about rendering offscreen without window, and is there a possibility to not use GLFW at all?