/[gzz]/gzz/gfx/libutil/texture.py
ViewVC logotype

Diff of /gzz/gfx/libutil/texture.py

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

revision 1.1 by tjl, Wed Oct 23 14:55:40 2002 UTC revision 1.2 by tjl, Sat Jan 25 14:45:14 2003 UTC
# Line 1  Line 1 
1  from gzz.gfx.gl import GL  from gzz.gfx.gl import GL
2    
3  def printTex(id):  def printTex(id):
4      for i in range(0,2):      print "TexDump for",id
5        for p in (
6                "TEXTURE_BASE_LEVEL",
7                "TEXTURE_MAX_LEVEL",
8                ):
9            print "p:\t",p,"\t", GL.getGLTexParameterFloat("TEXTURE_2D", id, p)
10        for i in range(0,4):
11            print "Level",i
12          for p in (          for p in (
13              "TEXTURE_WIDTH",              "TEXTURE_WIDTH",
14              "TEXTURE_HEIGHT",              "TEXTURE_HEIGHT",

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

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