Fix bug with Image -> Texture copies;

This commit is contained in:
bjorn 2022-08-17 18:09:12 -07:00
parent 3e8b1681df
commit 7087cef57f
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ static int l_lovrPassCopy(lua_State* L) {
srcOffset[0] = luax_optu32(L, 4, 0);
srcOffset[1] = luax_optu32(L, 5, 0);
dstOffset[0] = luax_optu32(L, 6, 0);
srcOffset[1] = luax_optu32(L, 7, 0);
dstOffset[1] = luax_optu32(L, 7, 0);
extent[0] = luax_optu32(L, 8, ~0u);
extent[1] = luax_optu32(L, 9, ~0u);
srcOffset[2] = luax_optu32(L, 10, 1) - 1;