/[libvob]/libvob/vob/putil/misc.py
ViewVC logotype

Diff of /libvob/vob/putil/misc.py

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

revision 1.2 by tjl, Fri Apr 11 12:51:28 2003 UTC revision 1.3 by mudyc, Fri May 2 00:06:30 2003 UTC
# Line 20  Line 20 
20  #  #
21  #  #
22    
23    dbg = 0
24    
25  import java  import java
26    
27  import vob  import vob
# Line 160  def getTexture(*args): Line 162  def getTexture(*args):
162      key = str(args)      key = str(args)
163      if not textures.has_key(key):      if not textures.has_key(key):
164          textures[key] = GL.createTexture()          textures[key] = GL.createTexture()
165          print "Generating texture: ", args          if dbg:
166                print "Generating texture: ", args
167          res = textures[key].shade(*args)          res = textures[key].shade(*args)
168          print "SHADER: ", res          if dbg:
169                print "SHADER: ", res
170      return textures[key]      return textures[key]
171    
172    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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