Skip to content

Commit

Permalink
Use leftoffset and topoffset, not loffs and toffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lactozilla committed Oct 2, 2020
1 parent aaa9cff commit ebf50aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r_picformats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ebf50aa

Please sign in to comment.