Page 1 of 1

OpenGL wgl extensions

Posted: Wed Dec 10, 2003 12:34 pm
by dmoc
I am trying to come up with a tidy method for calling wgl extensions. There are two methods I can think of...

1) An array of function pointers plus "CallFunction..." type calls
2) An interface plus "wgl\wglFunction..." type calls

The first is flexible (to a point) but I don't like the call method, the second has a better (read "more tidy") call method but is inflexible. Any other suggestions?