[Qt-interest] Fwd: GLEW library
Samuel Rødal
sroedal at trolltech.com
Mon Feb 23 18:06:36 CET 2009
ami guru wrote:
> Hello Oliver,
>
>
> I think i have got that right now
>
>
> I have put the glew initialization process inside the virtual function
> initializeGL() and now it is working fine.
>
> It detects the support of OpenGL 2
>
>
> Thanks
> Sajjad
Hi,
calling glewInit() from the constructor should work fine too as long as
you call makeCurrent() first so that there is an active OpenGL context.
Regards,
Samuel
More information about the Qt-interest-old
mailing list