Thomas Roell writes:
 > For shake of portability with wglGetProcAddress, I would recommand
 > that there is only a glXGetProcAddress() that returns pointers to GL
 > and GLX functions. The way a port could be done very trivially for an
 > application:
 > 
 > #ifdef linux
 > #define wglGetProcAddress glXGetProcAddress
 > #endif

I second this. It would easily fit into the pointer twiddling
that Q-style games do for abstracting wgl, GLX, and fxMesa.
It also solves the recursion Brian mentioned. That was the one
question in my first comments that Jon skipped - why not
only a glX function operating on the current context?

                                              b.

Reply via email to