[osg-users] glClampColor with GL CORE profile

Chris Djali krizdjali at gmail.com
Thu Sep 19 12:52:25 PDT 2019


Hi,

Somehow I missed the several parts about you intentionally using a core profile.

I guess the most reasonable thing to do is submit an issue report that https://github.com/openscenegraph/OpenSceneGraph/blob/OpenSceneGraph-3.6/src/osg/ClampColor.cpp#L52-L53 should be fenced off so they don't get called when a core profile is in use. I'm not 100% sure whether there's any way built into OSG to do this at runtime based on the context version, but OSG_GL3_AVAILABLE does exist to do it at compile time as you've noticed.

Cheers,
Chris

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76716#76716







More information about the osg-users mailing list