mirror of
https://github.com/love2d/love.git
synced 2026-08-21 05:00:08 +02:00
Fix issue #158 by forcing the image origin to be upper left.
This commit is contained in:
@@ -34,6 +34,8 @@ namespace devil
|
|||||||
Image::Image()
|
Image::Image()
|
||||||
{
|
{
|
||||||
ilInit();
|
ilInit();
|
||||||
|
ilOriginFunc(IL_ORIGIN_UPPER_LEFT);
|
||||||
|
ilEnable(IL_ORIGIN_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
Image::~Image()
|
Image::~Image()
|
||||||
|
|||||||
Reference in New Issue
Block a user