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

Using SDL_GetWindowBordersSize() messes up everything. #593

Open
cptclvtch opened this issue Dec 7, 2023 · 3 comments
Open

Using SDL_GetWindowBordersSize() messes up everything. #593

cptclvtch opened this issue Dec 7, 2023 · 3 comments

Comments

@cptclvtch
Copy link

cptclvtch commented Dec 7, 2023

SDL_GetWindowBordersSize() being used at main.c:12 in this repo: cptclvtch/HFSTS@d6d7613 messes up the GUI.

Even if all other window handling is commented out in that section, the simple use of that get function messes up all of Nuklear.

@RobLoach
Copy link
Contributor

I don't see any reference to SDL_GetWindowBordersSize() in the Nuklear repository, or any of the SDL examples.

@cptclvtch
Copy link
Author

Sorry, I dont think I understand your subtext.

@RobLoach
Copy link
Contributor

RobLoach commented Mar 21, 2024

Would you want to use this one instead? https://wiki.libsdl.org/SDL2/SDL_GetWindowSize

Another option is to get the side fo the renderer instead https://wiki.libsdl.org/SDL2/SDL_GetRendererOutputSize

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

No branches or pull requests

2 participants