]> gitweb.factorcode.org Git - factor.git/commit
images.loader.gdiplus: fix for the call to GdipBitmapLockBits
authorBjörn Lindqvist <bjourne@gmail.com>
Sun, 6 Sep 2015 13:15:01 +0000 (15:15 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Sun, 6 Sep 2015 13:15:01 +0000 (15:15 +0200)
commit5684fab4841eae5553626764354111fdb2383bd3
tree10ba0df6c7e72e8f62acb010f72530cc5bf6b7c1
parent721048bbb9783886b28a9fe49fa3683cb7679995
images.loader.gdiplus: fix for the call to GdipBitmapLockBits

GdipBitmapLockBits might trigger gc so the GpRect struct must be copied
to stable stack memory so that the collector doesn't move it.
basis/images/loader/gdiplus/gdiplus.factor
basis/images/loader/loader-tests.factor