Skip to content

Conversation

@manuel5975p
Copy link
Owner

No description provided.

@manuel5975p manuel5975p mentioned this pull request Jan 13, 2026
17 tasks
@Peter0x44
Copy link
Collaborator

Does calling the function "CloseProgram" make much sense?
What does it close exactly?

@manuel5975p manuel5975p merged commit 4d4d5f2 into master Jan 27, 2026
19 checks passed
@Peter0x44
Copy link
Collaborator

Oh, CloseProgram would close the stuff that is needed for headless, so having only a single "CloseWindow" like raylib wouldn't work.
But it seems like CloseProgram also closes the windows, just in case. e.g. CloseProgram is more the equivalent of raylib's CloseWindow which does a bit too much.

Is my understanding correct?

@manuel5975p
Copy link
Owner Author

Yes, I think CloseProgram is closer to its use, maybe CloseWindow can be a thing too but it will also collide with windows.h

@Peter0x44
Copy link
Collaborator

Peter0x44 commented Jan 27, 2026

I think a collision is OK. It is obviously not ideal, but no one should need to call that function. Actually, what the win32 CloseWindow does is really "MinimizeWindow".

We can sort it out with something similar to Jeff's fix_win32_compatibility.h

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