Re: GL_BLEND

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Glynn Clements wrote:
> Does this rely upon the underlying OpenGL implementation/driver
> supporting glBlendEquation() (i.e. OpenGL 1.3 or 1.2+GL_ARB_imaging)?

Yes, blendEquation depends on the glBlendEquationEXT extension function.
If the extension is not supported, an exception with the message

    unknown OpenGL call glBlendEquationEXT, check for GL_EXT_blend_minmax or GL_EXT_blend_subtract or OpenGL 1.4

should be thrown, not a segfault. This is a bit mysterious...

Cheers,
    S.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.