On Thu May 30 18:30:18 2024 +0000, Connor McAdams wrote:
actually I take that back, that would only make sense if it was `max()`. I can't figure out what use the `min()` here serves. Actually, I _think_ it's because you can have a surface that has a non block-aligned width/height. E.g if you had a 3x3 DXT5 surface, you specified a 2x2 destination rectangle, this would round up to 4, but we should cap it at 3.
Ahhh yes, that's probably it. Thanks for making sense of my old code! :sweat_smile: