LWJGL 3 render to texture offscreen without display 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?
So the way I went by not showing the window seems the way to go, and the error about GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTapparently wasn't related to this at all and is gone.