Talk About Network

Google





Graphics > OpenGL 3D API > Re: glBlendEqua...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 4803 of 5061
Post > Topic >>

Re: glBlendEquation

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
 




 2 Posts in Topic:
glBlendEquation
"Serve Lau" <  2008-06-18 07:19:53 
Re: glBlendEquation
Wolfgang Draxinger <wd  2008-06-18 10:41:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 16:40:24 PST 2009.