On Jan 24, 2008 10:09 PM, Gordon Erlebacher <[EMAIL PROTECTED]> wrote:

The display() routine calls certain OpenGL routines, leading to the error.
>  From the docs I find out that I should somehow define a
> glewGetContext(...)
> function since the offending routines are called from a class other
> than Channel or Window. How and were do I create this function?
> Can you provide me with some hint?


I think in your case GLEW is not needed, since extended GL functions on
non-Windows platforms can be linked directly. The fact that you can link and
you are getting GL errors from these functions shows that they are bound
correctly.

The INVALID_OPERATION error is generated by glUniform for a lot of reasons -
have a look at the man page. If I had to take a guess, I'ld say that the
initialization of the RapidMind code hasn't happened correctly.

As a first step, you can allocate and init  one life instance in
Window::configInitGL. This may be optimized later to do it once per shared
window set.


HTH,

Stefan.
_______________________________________________
eq-dev mailing list
[email protected]
https://in-zueri.ch/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to