by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED]
>
Jun 18, 2008 at 10:41 AM
Serve Lau wrote:
> MSVC's OpenGL lib doesnt come with glBlendEquation, the
> function cant be found. How can I make it work?
It's an extension. Get an valid OpenGL context, then, when the
context is current:
void (*glBlendEquation)(GLenum) =
wglGetProcAddress("glBlendEquationARB");
And since it's so annoying, to do this all by yourself for all
the avaliable extensions, you can use a wrapper library like
GLEW <http://glew.sf.net>
Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
ICQ: 134682867