I'm trying to load some an image with stbi_load
functions like this:
stbi_load(filename, parameter2, parameter3, parameter4, parameter5);
The problem is I have the filename like this:
stbi_load("example_filename",...);
But the functions requires the first parameter to be const char*
. I tried casting but it didn't load the image. I'm using Visual Studio 2017.