Schmavery / reprocessing

ReasonML graphics library inspired by Processing
https://schmavery.github.io/reprocessing/
MIT License
682 stars 24 forks source link

Fix #91 jpg loading issue #92

Closed Schmavery closed 6 years ago

Schmavery commented 6 years ago

This looks like it fixes the issue with loading jpgs. I believe this will tell reasongl (which tells SOIL) to load in the data as RGBA no matter what the source image format is. This is probably the best option for us right now as iirc reprocessing isn't set up to handle different image formats currently. We could make it do that but it would be a bigger fix so let's see if we even end up needing it.

cc @bsansouci @codekiln

Schmavery commented 6 years ago

Just tested with this branch and the issue seems to be fixed. image