Parent Directory | Revision Log | Patch
revision 1.1 by tjl, Thu Apr 10 14:00:19 2003 UTC | revision 1.2 by tjl, Fri Jun 6 20:04:23 2003 UTC | |
---|---|---|
# | Line 33 from org.nongnu.libvob.gl import GL | Line 33 from org.nongnu.libvob.gl import GL |
33 | from java.io import File | from java.io import File |
34 | import os | import os |
35 | ||
36 | dbg = 0 | |
37 | ||
38 | if not globals().has_key("texcache"): | if not globals().has_key("texcache"): |
39 | texcache = {} | texcache = {} |
40 | ||
# | Line 63 def getCachedTexture(args, shade_all_lev | Line 65 def getCachedTexture(args, shade_all_lev |
65 | ||
66 | texcache[key] = tex | texcache[key] = tex |
67 | texcache[(key,"ctime")] = srctime | texcache[(key,"ctime")] = srctime |
68 | print "SHADER: ", res, tex.getTexId() | if dbg: |
69 | print "SHADER: ", res, tex.getTexId() | |
70 | return tex | return tex |
71 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |