/[gzz]/gzz/gfx/libpaper/papermill.py
ViewVC logotype

Diff of /gzz/gfx/libpaper/papermill.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by tjl, Mon Sep 2 16:14:33 2002 UTC revision 1.20 by tjl, Tue Sep 3 10:14:47 2002 UTC
# Line 43  def initialize(): Line 43  def initialize():
43          # We have at least a NV10, possibly better.          # We have at least a NV10, possibly better.
44          # Check the number of general combiners to be sure.          # Check the number of general combiners to be sure.
45          maxcomb = GZZGL.getGLFloat("MAX_GENERAL_COMBINERS_NV")[0]          maxcomb = GZZGL.getGLFloat("MAX_GENERAL_COMBINERS_NV")[0]
46          if maxcomb < 2:          if maxcomb < 4:
             assert 0, "Sorry, not sufficient register combiners (%s)"%maxcomb  
         elif maxcomb < 4:  
47              # use NV10 version              # use NV10 version
48              if dbg: print "Using NV10 combiners ",maxcomb              if dbg: print "Using NV10 combiners ",maxcomb
49              files.append("texcomb_NV1X.py")              files.append("texcomb_NV1X.py")

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26