Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rlgl] Small cleaning #4583

Closed
wants to merge 3 commits into from
Closed

[rlgl] Small cleaning #4583

wants to merge 3 commits into from

Conversation

Bigfoot71
Copy link
Contributor

I simply removed the int format parameter from rlGenTextureMipmaps(), which was unused, as well as the rlTextureFilter enum, which was also unused in rlgl.h and wasn't referenced anywhere else in the library. In any case, TextureFilter replaces it.

src/rlgl.h Outdated Show resolved Hide resolved
@Bigfoot71
Copy link
Contributor Author

I've just restored the rlTextureFilter enum following our conversation, so the commit only removes the unused int format parameter from rlGenTextureMipmaps.

It's up to you to decide whether it's better to keep this parameter in case it might be reused in the future.

@raysan5
Copy link
Owner

raysan5 commented Dec 10, 2024

@asdqwe that's what I meant with my comment but I was not clear enough, format is better to be kept as a parameter, jsut in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants