opengl context of multiple windows drawing on one window with Gtk.GLArea (MS Windows problem)
I'm using Pygobject on Win7 and when creating more than 1 top level window, if I use the GLArea widget, the gl commands all seem to draw on the last window I created. I am compiling the shaders separately. I am calling gl code from inside the on_render() method which is supposed to mean that GLArea's context is current. I even tried calling the make_current() method with the same results. Even stranger is that the last window draw seems to "steal" the Gtk.Widget's context and all of the windows widget are drawn on a single one. I used the same code on linux (Mint 18.1) and it works correctly. I've posted this on stack overflow but after seeing that it works correctly on linux I feel its a bug in the Gdk windowing system for Windows. I've use the PyGobject AIO installer version PyGI 3.24.1 rev1 AIO for Windows.