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:
parent
76be0b0d23
commit
49a630e8ac
5 changed files with 28 additions and 6 deletions
2
test.py
2
test.py
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue