lvandeve / lodepng

PNG encoder and decoder in C and C++.
zlib License
2.03k stars 420 forks source link

sdl2 #164

Closed fastrgv closed 2 years ago

fastrgv commented 2 years ago

I think you need an example that uses a more modern SDL2. Here is mine lod.tar.gz :

fastrgv commented 2 years ago

Sorry, I forgot to edit the comments at the top, appropriately. I'll leave that to you. I expect you'll want to edit anyway.

fastrgv commented 2 years ago

Here is a more complete version that has build scripts for OSX, W32, W64, & linux lod.tar.gz :

fastrgv commented 2 years ago

Finally, here is an explanation file:

README.md

lvandeve commented 2 years ago

Good point, converted the examples to SDL2 now, using the migration guide (https://wiki.libsdl.org/MigrationGuide)

fastrgv commented 2 years ago

It worked perfectly for me. Nice!

fastrgv commented 2 years ago

In case I have not mentioned it before...

https://sourceforge.net/projects/rufasslider/files/27apr2022/

is my "modern-OpenGL" set of puzzles that uses lodepng and runs on Windows, Linux & OSX. (all my other games use the Ada programming language). Rod