Closed yairchu closed 3 years ago
@rougier do you want to look at it? A lot of old pull requests are just sitting around, and some of them look useful, like this one.
Yes, it might be tome to close old issue. Concerning this specific one, I remember adding them for a reason but maybe it was used only during experiments. Can you conform this does not change output?
I verified when making the change, and did also re-verify now too after merging with current master
, and it works the same. (not I didn't re-verify the markup
demo which doesn't build on my M1 Mac seems due to using Intel fontconfig)
Thanks.
glBlendColor
only has an effect when usingglBlendFunc
withGL_CONSTANT_COLOR
,GL_ONE_MINUS_CONSTANT_COLOR
,GL_CONSTANT_ALPHA
, orGL_ONE_MINUS_CONSTANT_ALPHA
. (according to https://www.opengl.org/sdk/docs/man4/html/glBlendFunc.xhtml).As these blend funcs aren't used anywhere, the calls to
glBlendColor
are misleading, and someone looking to learn from these examples might end up quite confused.