make current context with and without glxwindow (only xwindow)