[rl_gputex] fix: decouple logging and memory allocation from Raylib #5045
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is quite big, so maybe lets treat it more like a DRAFT than PR. I can either split it to smaller PR's or change few things. However, have in mind it may take some time. The
rl_gputex.h
is pretty hard to change. Currently, almost everything in it depends on headers that come from Raylib (rtextures.c and raylib.h). This PR tries to fix and document most of those problems, but it's not everything by any means. This should at least fix all the problems mentioned in #5039 Every little change should be documented in the commit message.commit message with full change list
Fixes: #5039
Reference: https://discord.com/channels/426912293134270465/541710686468702250/1394403611852931255