/[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.67 by mudyc, Mon Jan 20 08:51:08 2003 UTC revision 1.68 by tjl, Sat Jan 25 13:45:03 2003 UTC
# Line 142  class ThePaperMill(PaperMill): Line 142  class ThePaperMill(PaperMill):
142              print "Warning: not returning optimized paper because"              print "Warning: not returning optimized paper because"
143              print "GL_SGIS_generate_mipmap extension is required but not available"              print "GL_SGIS_generate_mipmap extension is required but not available"
144              return pap              return pap
145            if GL.workaroundStupidBuggyAtiDrivers:
146                print "Warning: not returning optimized paper because"
147                print "copyTexImage2D has problems on ATI drivers"
148                return pap
149    
150          # Now, we render a region.          # Now, we render a region.
151          v = pap.repeat._getSTVectors()          v = pap.repeat._getSTVectors()
# Line 165  class ThePaperMill(PaperMill): Line 169  class ThePaperMill(PaperMill):
169              BindTexture TEXTURE_2D %(texid)s              BindTexture TEXTURE_2D %(texid)s
170              TexParameter TEXTURE_2D TEXTURE_MAX_ANISOTROPY_EXT 2              TexParameter TEXTURE_2D TEXTURE_MAX_ANISOTROPY_EXT 2
171              TexParameter TEXTURE_2D  GENERATE_MIPMAP_SGIS TRUE              TexParameter TEXTURE_2D  GENERATE_MIPMAP_SGIS TRUE
172              TexParameter TEXTURE_2D  TEXTURE_MIN_FILTER LINEAR_MIPMAP_LINEAR              TexParameter TEXTURE_2D  TEXTURE_MIN_FILTER NEAREST
173              TexParameter TEXTURE_2D  TEXTURE_MAG_FILTER LINEAR              TexParameter TEXTURE_2D  TEXTURE_MAG_FILTER NEAREST
174              BindTexture TEXTURE_2D 0              BindTexture TEXTURE_2D 0
175          """ % locals())          """ % locals())
176          print "READ: ", 0, vs.getSize().height-1-s, s, s          print "READ: ", 0, vs.getSize().height-1-s, s, s

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

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