-
Notifications
You must be signed in to change notification settings - Fork 68
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
Flags for SetVideoMode should be uint32 instead of int. #6
Comments
These seem to be the flags accepted by SetVideoMode:
|
For some reason I get segfaults when using the RESIZABLE flag, still trying to find out what's going wrong. |
I'm not getting any errors, can you share your source? |
you are missing sdl.OPENGL flag |
I get a segfault with and without that flag. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A couple of the automatically generated constants have int type, this causes issues because some of them overflow int when combined and SetVideoMode only takes uint32.
I suggest we identify all possible flags for that function and type them properly.
The text was updated successfully, but these errors were encountered: