From Brede Johansen, "Here's a small patch to BlendFunc::setFunction(source,destination) to
make it consistent with the constructor and prevent the BlendFuncSeparate path being called. This patch fixed the artifact with the osgpointsprite demo on ATI cards reported by Mike Weiblen."
This commit is contained in:
@@ -99,6 +99,8 @@ class OSG_EXPORT BlendFunc : public StateAttribute
|
||||
{
|
||||
_source_factor = source;
|
||||
_destination_factor = destination;
|
||||
_source_factor_alpha = source;
|
||||
_destination_factor_alpha = destination;
|
||||
}
|
||||
|
||||
inline void setFunction( GLenum source_rgb, GLenum destination_rgb, GLenum source_alpha, GLenum destination_alpha )
|
||||
|
||||
Reference in New Issue
Block a user