Skip to content

[rlgl] Rename near, far variables - #4039

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
jgabaut:rename-near-far-variables
Jun 6, 2024
Merged

raysan5 merged 1 commit into
raysan5:masterfrom
jgabaut:rename-near-far-variables

Conversation

@jgabaut

@jgabaut jgabaut commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

Hi, I found a couple more instances of the near and far names being used in rlgl.h.

I don't really know if this could incur the same problem I found with raymath.h, but I tought it might be useful to also rename this one.

This relates to this old issue that mentions these names:

I would also mention that I'm not yet using the suggested setup to select includes from windows.h, from here:

Which may fix most of this kind of issues, should anyone incur in the same warnings as in here.

@raysan5
raysan5 merged commit f05316b into raysan5:master Jun 6, 2024
@raysan5

raysan5 commented Jun 6, 2024

Copy link
Copy Markdown
Owner

@jgabaut Sure! those functions were added recently

@jgabaut
jgabaut deleted the rename-near-far-variables branch June 6, 2024 13:43
JayLCypher pushed a commit to JayLCypher/raylib that referenced this pull request Jun 9, 2024
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