Anthony

Results 100 comments of Anthony

Be careful not to add too much bulk to LodePNG. It's beauty is that it's interface is simple and compact. If we understand what the user_arg is for, it will...

Hi Lode (nice to meet you). I'm not sure I understand your question about state objects. I override new and delete to manage memory. When new fails to allocate, I...

What if malloc() or realloc() fail because there is no free memory? I have no way to catch the error and free memory for it to try again. I could,...

Actually, that's a good idea. If LodePNG returns 83, I can release some memory and retry. That's even simpler than before, lol. Okay, forget about dropping realloc. All is ok...

Just a quick suggestion. Any plans to make constants or #defines for the error codes?

I've just been going through the SDL2 to SDL3 migration and noticed some possible niggles: Should we rename functions like `SDL_GetGamepadNumTouchpadFingers` to `SDL_GetNumGamepadTouchFingers` to match other conventions? We now have...

That part always tripped me up as well, so it's not just you. I think symlink is a linux thing? A lot of the devs assume we should all have...

^ my SDL directory sits side-by-side with my project directories, so back 2 directories and into the SDL source code is what's needed for the relative path.