Skip to content

problems with STBI_FREE #3

@Dev-Sandwich

Description

@Dev-Sandwich

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions