mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 16:25:47 -04:00
different patch shows y-offset bug not fixed
This commit is contained in:
parent
6bef3cda0e
commit
5e070745a6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ImagesExample:
|
||||||
baseimage.show()
|
baseimage.show()
|
||||||
|
|
||||||
basepatch = gtk.Image()
|
basepatch = gtk.Image()
|
||||||
basepatch.set_from_file("../../patches/wall42_3.gif")
|
basepatch.set_from_file("../../patches/ps20a0.gif")
|
||||||
pb = basepatch.get_pixbuf()
|
pb = basepatch.get_pixbuf()
|
||||||
basepatch.set_from_pixbuf(pb.scale_simple(
|
basepatch.set_from_pixbuf(pb.scale_simple(
|
||||||
pb.get_width() * scale,
|
pb.get_width() * scale,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue