From: Jason M. <ko...@gm...> - 2008-10-04 22:05:54
|
Camilla Berglund wrote: > StApostol wrote: > >>> No, it won't. GLFW doesn't allow that call unless it owns the context. >>> >> Really? All I can think is why was it implemented like this? As long as >> [wgl/glx/agl]GetCurrentContext returns something, [wgl/glx/agl]GetAddress >> should be safe to call. >> > > Yup, it should. I would assume it was because no one thought of it > being used that way (it was before my time). I guess I could change > it if you want to call it that way. > > Regards, > elmindreda I don't know why I'm getting all of these e-mails now, but it would be useful to have a GetAddress function that someone who actually can use non-Windows platforms can assure me actually works. So yes, it wouldn't be a bad idea to call glfwGetAddress, if it could be called from an arbitrary GL context. |