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

panic - Conflicting window flags specified #4

Closed
renatorabelo opened this issue Jul 1, 2017 · 3 comments
Closed

panic - Conflicting window flags specified #4

renatorabelo opened this issue Jul 1, 2017 · 3 comments

Comments

@renatorabelo
Copy link

Hi,
I'm trying to build your emulator but i get a panic with the binary.

panic: Conflicting window flags specified
goroutine 1 [running, locked to thread]:
main.createWindow()
C:/Users/rsrim/go/src/github.com/massung/CHIP-8/main.go:217 +0x17d
main.main()
C:/Users/rsrim/go/src/github.com/massung/CHIP-8/main.go:173 +0x274

Any ideas ?

@renatorabelo
Copy link
Author

renatorabelo commented Jul 1, 2017

https://github.com/massung/CHIP-8/blob/master/main.go#L212 should be
flags := sdl.WINDOW_OPENGL

@massung
Copy link
Owner

massung commented Jul 1, 2017

Pushed a version with the fix. Looks like the "centered" flag was for a different argument and the latest SDL version recognized the incorrect flag.

Thanks for finding that!

@massung massung closed this as completed Jul 1, 2017
@massung
Copy link
Owner

massung commented Jul 1, 2017

Published a new release with the fix as well. Special thanks to you in it. ;-)

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