Merge default into minor

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-11-19 19:19:14 -04:00
5 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ int w_Shader_getWarnings(lua_State *L)
static int _getCount(lua_State *L, int startidx, const Shader::UniformInfo *info)
{
return std::min(std::max(lua_gettop(L) - startidx, 1), info->count);
return std::min(std::max(lua_gettop(L) - startidx + 1, 1), info->count);
}
template <typename T>