the stbi image was outdated so i replaced it with the newest one
but in gld2.cpp...
line 2192
and line 2334
they bolth have the code STBI_FREE(decodedImage);
okay looks fine no misspelling or anything
but when you compile the code you get an error
gl2d.cpp:2192:5: error: ‘STBI_FREE’ was not
declared in this scope; did you mean ‘STBI_grey’?
2192 | STBI_FREE(decodedImage)
| ^~~~~~~~~
| STBI_grey
(STBI_grey doesn't work either obviously)
i tried replacing this line and changing it but nothing works
Ive tried fixing the code for hours now but i cant figure this out
(pls help i feel so stupid right now)
the stbi image was outdated so i replaced it with the newest one
but in gld2.cpp...
line 2192
and line 2334
they bolth have the code STBI_FREE(decodedImage);
okay looks fine no misspelling or anything
but when you compile the code you get an error
gl2d.cpp:2192:5: error: ‘STBI_FREE’ was not
declared in this scope; did you mean ‘STBI_grey’?
2192 | STBI_FREE(decodedImage)
| ^~~~~~~~~
| STBI_grey
(STBI_grey doesn't work either obviously)
i tried replacing this line and changing it but nothing works
Ive tried fixing the code for hours now but i cant figure this out
(pls help i feel so stupid right now)