Hi Dirk,

On Saturday 14 February 2004 17:14, Dirk Reiners wrote:
> I looked at it again, and it shouldn't be a problem to fix it. After
> all, no blending is equivalent to having GL_ONE, GL_ZERO blend
> functions, and that's just as easy to check for as a GL_NONE src.

> I attached a patch that does that, can you try if that fixes your problem?
>

yes, works fine now. Thanks!
There was an small error in the patch, though:

> #if GL_EXT_blend_color
>@@ -273,12 +276,12 @@
>             }
>         }
> #endif
>-        if(old->_sfSrcFactor.getValue() == GL_NONE)
>+        if(src == GL_ONE && dest == GL_ZERO)
>             glEnable(GL_BLEND);
>     }

should be:

>-        if(old->_sfSrcFactor.getValue() == GL_NONE)
>+        if(osrc == GL_ONE && odest == GL_ZERO)



Best Regards,
  Jens Hoffmann




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to