mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
ImageData:mapPixel can now take optional x,y,w,h parameters to constrain it to a rectangle in the ImageData
This commit is contained in:
@@ -84,8 +84,8 @@ Variant::Variant(void *userdata)
|
||||
|
||||
Variant::Variant(love::Type udatatype, void *userdata)
|
||||
: type(FUSERDATA)
|
||||
, udatatype(udatatype)
|
||||
{
|
||||
this->udatatype = udatatype;
|
||||
if (udatatype != INVALID_ID)
|
||||
{
|
||||
Proxy *p = (Proxy *) userdata;
|
||||
|
||||
Reference in New Issue
Block a user