mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +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()
|
||||
{
|
||||
ilInit();
|
||||
ilOriginFunc(IL_ORIGIN_UPPER_LEFT);
|
||||
ilEnable(IL_ORIGIN_SET);
|
||||
}
|
||||
|
||||
Image::~Image()
|
||||
|
||||
Reference in New Issue
Block a user