milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.7k stars 160 forks source link

fix: minimal non-opengl platforms can run MT again #292

Closed coderofsalvation closed 1 year ago

coderofsalvation commented 2 years ago

On low-end / embedded / SoC platforms, this PR can run milkytracker in non-opengl non-accelerated mode:

$ NO_OPENGL=1 ./milkytracker

Reason: by default milkytracker requests an SDL OpenGL Context, however many minimal systems don't run in accelerated mode. For example, using this fix I got milkytracker to run on the latest TinyCore Linux on a pentium 1 laptop.

I've read several reports of this on the milkytracker modarchive forum / https://github.com/milkytracker/MilkyTracker/issues/163 e.g. With this fix milkytracker can once again become the 'helloworld'-studio of all exotic *NIX devices out there.

coderofsalvation commented 1 year ago

thx! merged in v1.04