max2d OpenGL 2+ Or SDL2

BlitzMax Forums/BlitzMax Programming/max2d OpenGL 2+ Or SDL2

BLaBZ(Posted 2014) [#1]
Hi All,

Is there a OpenGL 2.0+ version of max2d or has anyone created bindings for SDL2?

Thanks!
BLaBz


LT(Posted 2014) [#2]
Both of them exist, I believe. I don't know if Brucey has posted them officially. I'm pretty sure the latter requires NG.


Brucey(Posted 2014) [#3]
Is there a OpenGL 2.0+ version of max2d or has anyone created bindings for SDL2?

Yes, and yes.
I'm pretty sure the latter requires NG.

Possibly, although I've not tried it outside of "NG". There's no immediate reason that comes to mind why it wouldn't work elsewhere (i.e. with the legacy compiler).

SDL2 is awesome. It provides a very nice, consistent backend across platforms - which means I have been able to basically just recompile apps with SDL2 for 32 and 64-bit desktops, ARM Linux (raspi) and Android, without any other changes.

You can find the interesting stuff here : https://github.com/bmx-ng

YMMV of course, if you decide to try to use it away from NG.