gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gfx/libutil nvcode.py


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gfx/libutil nvcode.py
Date: Mon, 25 Nov 2002 11:38:39 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        02/11/25 11:38:39

Modified files:
        gfx/libutil    : nvcode.py 

Log message:
        fix

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libutil/nvcode.py.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: gzz/gfx/libutil/nvcode.py
diff -u gzz/gfx/libutil/nvcode.py:1.10 gzz/gfx/libutil/nvcode.py:1.11
--- gzz/gfx/libutil/nvcode.py:1.10      Mon Nov 25 08:46:23 2002
+++ gzz/gfx/libutil/nvcode.py   Mon Nov 25 11:38:39 2002
@@ -559,7 +559,8 @@
                 outcomp = left[0][2]
 
                 if outreg.startswith("CONST"):
-                    code += outputGeneralCombiner(stage)
+                    if stage["RGB"] or stage["ALPHA"]:
+                        code += outputGeneralCombiner(stage)
                     stage[outreg] = line[pos+1:]
                 else:
                     out = parseGeneralCombiner(outreg, right)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]