magfilter

This commit is contained in:
David Rose 2009-02-10 15:40:03 +00:00
parent 24caf70155
commit ee7154a9c5
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class TexViewer(DirectObject):
Texture.TUnsignedByte,
Texture.FRgba8)
self.t2.setRamImage(self.tex.getSimpleRamImage())
self.t2.setMagfilter(Texture.FTNearest)
cm = CardMaker('right')
l, r, b, t = (0.1, 1, 0, 0.9)