Added a logger for more maintainable and configurable debug messages.

Fixed a bug with context setting so that all children are updated on
context update.
This commit is contained in:
Joey Payne 2014-02-06 11:21:22 -07:00
commit 49a630e8ac
5 changed files with 28 additions and 6 deletions

View file

@ -64,6 +64,8 @@ class Test(ShowBase):
if width != self.width or height != self.height:
self.width, self.height = width, height
cairoTexture = Texture()
cairoTexture.setMagfilter(Texture.FTNearest)
cairoTexture.setMinfilter(Texture.FTNearest)
cairoTexture.setXSize(self.width)
cairoTexture.setYSize(self.height)
cairoTexture.setFormat(cairoTexture.FRgba8)