SFML community forums

Help => Window => Topic started by: Trass3r on March 12, 2011, 03:37:12 pm

Title: getting the GL context
Post by: Trass3r on March 12, 2011, 03:37:12 pm
For interoperation with OpenCL I need the OpenGL context associated with the current window. (and on Windows also the DC, but I think I can get that via GetDC(window.GetSystemHandle())

Could this be made available?
Title: getting the GL context
Post by: Laurent on March 12, 2011, 07:29:58 pm
wglGetCurrentContext
wglGetCurrentDC