title: LWJGL: How to create two different OpenGL contexts?
body: <pre><code>    GLFW.glfwMakeContextCurrent(window);
      main = GLContext.createFromCurrent();
      other = GLContext.createFromCurrent();
  </code></pre>
  
  <p>This is what I have tried so far, and in the other thread, I call </p>
  
  <pre><code>    GL.setCurrent(other);
  </code></pre>
  
  <p>But all my OGL calls have no effect (calling genVertexArrays() returns 0).
  I can't find any examples online of how to even create two different contexts let alone make one current in another thread. </p>