hi, i must use extensions in multiple contexts, so i tried GLEW as it supports multiple contexts, but i don’t know how to use it.
i defined GLEW_MX, included glew.h. i defined GLEWContext, bu it is only struct and not object as mentionoed on GLEWs web page, and don’t know what they mean by creating it, i just declared it. and here is my problem, the GLEWContext is member variable of a class, i also defined member function glewGetContext(), which returns pointer to struct. bu when i use non-standard gl functions, the program won’t compile saying, that ‘glewGetContext’: identifier not found… (
what should i do? i did not find any examples of such use of GLEW.
thanks a lot.