Parent Directory | Revision Log | Patch
revision 1.2 by mudyc, Wed Apr 30 01:00:14 2003 UTC | revision 1.3 by mudyc, Mon Jun 30 12:21:49 2003 UTC | |
---|---|---|
# | Line 80 def makeMipzip(image, mipzip): | Line 80 def makeMipzip(image, mipzip): |
80 | w = roundup2(d.width) | w = roundup2(d.width) |
81 | h = roundup2(d.height) | h = roundup2(d.height) |
82 | tex = GL.createTexture() | tex = GL.createTexture() |
83 | tex.loadNull2D(0, format, w, h, 0, "RGB", "BYTE") | tex.loadNull2D('TEXTURE_2D',0, format, w, h, 0, "RGB", "BYTE") |
84 | print "WH: ",w, h | print "WH: ",w, h |
85 | tex.loadSubImage(0, im, 0, 0, 0, 0, chomp4(d.width), chomp4(d.height)) | tex.loadSubImage(0, im, 0, 0, 0, 0, chomp4(d.width), chomp4(d.height)) |
86 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |