From ee7154a9c5effcc34014d088cc3ad0cd66f5e2af Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 10 Feb 2009 15:40:03 +0000 Subject: [PATCH] magfilter --- direct/src/showutil/TexViewer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/showutil/TexViewer.py b/direct/src/showutil/TexViewer.py index 6fbbf22683..c645ca6403 100644 --- a/direct/src/showutil/TexViewer.py +++ b/direct/src/showutil/TexViewer.py @@ -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)