[cl-opengl-devel] window reopening bug and fix