Revision: 49347
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49347&view=rev
Author:   bob1961
Date:     2012-02-08 20:53:16 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
Disable GL_BLEND before leaving drawVList.

Modified Paths:
--------------
    brlcad/trunk/src/libdm/dm-ogl.c
    brlcad/trunk/src/libdm/dm-wgl.c

Modified: brlcad/trunk/src/libdm/dm-ogl.c
===================================================================
--- brlcad/trunk/src/libdm/dm-ogl.c     2012-02-08 20:52:26 UTC (rev 49346)
+++ brlcad/trunk/src/libdm/dm-ogl.c     2012-02-08 20:53:16 UTC (rev 49347)
@@ -1666,6 +1666,9 @@
     if (first == 0)
        glEnd();
 
+    if (dmp->dm_light && dmp->dm_transparency)
+       glDisable(GL_BLEND);
+
     return TCL_OK;
 }
 

Modified: brlcad/trunk/src/libdm/dm-wgl.c
===================================================================
--- brlcad/trunk/src/libdm/dm-wgl.c     2012-02-08 20:52:26 UTC (rev 49346)
+++ brlcad/trunk/src/libdm/dm-wgl.c     2012-02-08 20:53:16 UTC (rev 49347)
@@ -1216,6 +1216,9 @@
     if (first == 0)
        glEnd();
 
+    if (dmp->dm_light && dmp->dm_transparency)
+       glDisable(GL_BLEND);
+
     return TCL_OK;
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to