mirror of https://github.com/mosra/magnum.git
Browse Source
I was abusing the API and passing a negative pitch there to not have to invert the image by hand. It stopped working in 2.23 when they hardened the argument checking and, while working correctly, this feature was accidental and undocumented. Unfortunately it broke silently, because the API returned nullptr and SDL_SetWindowIcon(..., nullptr) is then resetting an icon to nothing. So I'm adding an internal assertion there now. Hopefully it doesn't start blowing up for some reason again, heh.pull/617/head
1 changed files with 14 additions and 5 deletions
Loading…
Reference in new issue