mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 16:25:47 -04:00
some comments
This commit is contained in:
parent
1462e3cc7e
commit
a825788903
5 changed files with 3 additions and 1 deletions
|
@ -59,9 +59,11 @@ class HellowWorldGTK:
|
|||
texbuf, patch.xoff, patch.yoff)
|
||||
|
||||
self.image1.set_from_pixbuf(texbuf)
|
||||
|
||||
# scale the texture up
|
||||
pixbuf = self.image1.get_pixbuf()
|
||||
if pixbuf:
|
||||
scale = 3
|
||||
scale = 2
|
||||
self.image1.set_from_pixbuf(pixbuf.scale_simple(
|
||||
pixbuf.get_width() * scale,
|
||||
pixbuf.get_height() * scale,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue