Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
getting the GL context
Print
Pages: [
1
]
Author
Topic: getting the GL context (Read 2323 times)
0 Members and 1 Guest are viewing this topic.
Trass3r
Jr. Member
Posts: 91
getting the GL context
«
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
getting the GL context
«
Reply #1 on:
March 12, 2011, 07:29:58 pm »
wglGetCurrentContext
wglGetCurrentDC
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
getting the GL context
anything