OpenGL wgl extensions

Windows specific forum
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

OpenGL wgl extensions

Post 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?