mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fix lua wrapper return value count for Texture:setWrap.
This commit is contained in:
@@ -242,7 +242,7 @@ int w_Texture_setWrap(lua_State *L)
|
||||
return luax_enumerror(L, "wrap mode", SamplerState::getConstants(s.wrapW), rstr);
|
||||
|
||||
luax_catchexcept(L, [&](){ t->setSamplerState(s); });
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int w_Texture_getWrap(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user