Use leftoffset and topoffset, not loffs and toffs

This commit is contained in:
Jaime Passos 2020-10-02 20:40:42 -03:00
parent aaa9cff6ac
commit ebf50aad44
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ void *Picture_PNGConvert(
}
// Now, convert it!
converted = Picture_PatchConvert(informat, flat, outformat, insize, outsize, (INT16)width, (INT16)height, loffs, toffs, flags);
converted = Picture_PatchConvert(informat, flat, outformat, insize, outsize, (INT16)width, (INT16)height, *leftoffset, *topoffset, flags);
Z_Free(flat);
return converted;
}