How would one do this?
I’m on python 3.2 with a 32bit machine and Windows 7 OS
How would one do this?
I’m on python 3.2 with a 32bit machine and Windows 7 OS
You can use wglGetCurrentContext or equivalent to figure out which OpenGL context is current on the thread that called wglGetCurrentContext. If it returns NULL there is no current OpenGL context on that thread.