mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Made some float/int/unsigned char conversions explicit, fixed ParticleSystem:getColors, fixed love.mouse.isDown with x1 and x2 buttons
This commit is contained in:
@@ -104,7 +104,7 @@ int w_Image_setMipmapFilter(lua_State *L)
|
||||
|
||||
EXCEPT_GUARD(t->setFilter(f);)
|
||||
|
||||
float sharpness = luaL_optnumber(L, 3, 0);
|
||||
float sharpness = (float) luaL_optnumber(L, 3, 0);
|
||||
t->setMipmapSharpness(sharpness);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user