61Fermer63
HPMANLe 15/10/2018 à 15:59
Why not just write your custom renderer if you need scaling?
That would be simpler than trying to track sprites and fixing tons of data.

By the way you can't do this:
scroll initializeScrollToZero() { scroll s; memset(&s, 0, sizeof(scroll)); return s; }s will cease to exist when function returns. Returned value will point to a memory location on the stack that might be used by something else.