Enable stb libraries for image loading. This was disabled by error.

This commit is contained in:
Ignacio
2018-10-09 18:01:15 -07:00
parent 5c70ffef0b
commit 95f1f60490
2 changed files with 8 additions and 8 deletions

View File

@ -634,7 +634,7 @@ bool Surface::load(const char * fileName, bool * hasAlpha/*= NULL*/)
}
// @@ Have loadFloat allocate the image with the desired number of channels.
//img->resizeChannelCount(4);
img->resizeChannelCount(4); // Block compressors expect a 4 channel texture.
delete m->image;
m->image = img.release();