Commit graph

8 commits

Author SHA1 Message Date
Clownacy
f006508232 Sanity check 2020-04-22 00:13:54 +01:00
Clownacy
6a00057469 Do not stream bitmaps
Again - Wii U SD card IO is terrible, so load the whole file at
once instead.
2020-04-21 23:57:07 +01:00
Clownacy
d0b20316de Don't do -Iexternal
It pollutes the #include space.
2020-03-31 14:26:24 +01:00
Clownacy
27d82e9762 Set STB_IMAGE_STATIC
Reduce global namespace clutter.

...Man, I wish other single-header-file libs had an option like this
- this is a big part of why the new miniaudio backend's been causing
so many problems lately.
2020-03-05 00:04:47 +00:00
Clownacy
f127010848 Use stb_image's file API
Streams data, instead of reading the whole file into memory.
2020-01-27 15:07:08 +00:00
Clownacy
1cffacb72e Added DecodeBitmapFromFile 2020-01-27 00:30:54 +00:00
Clownacy
2ef48bea8a Change DecodeBitmap to use unsigned ints
Why would an image decoder ever return a _negative_ image
width/height?
2020-01-26 23:59:04 +00:00
Clownacy
cf8977207e Stop using SDL for .bmp decoding
Now it uses stb_image instead
2020-01-26 19:47:50 +00:00