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

Segmentation fault #1

Open
peterlucian opened this issue Jan 29, 2023 · 1 comment
Open

Segmentation fault #1

peterlucian opened this issue Jan 29, 2023 · 1 comment

Comments

@peterlucian
Copy link

Hello, Im getting a segmentation fault in the function iskeydown in inputhandler every call, i commented the first call that trown the error and it has trown the same error but a diferent call to the same function.

@peterlucian
Copy link
Author

Well turns out u only have to do sdl_getkeyboardstate in the constructor of inputhandler só when u Access the variable u have something there.

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

1 participant