1. FAO Andy Patterson EuAllegro5 issues
- Posted by ChrisB (moderator) Nov 03, 2016
- 1299 views
Hi Andy
Playing around with EuAllegro5, example 1 works, but example 2 gives the error
C:\euphoria\EuAllegro5\EuAllegro.ew:1064 in procedure al_register_event_source() A machine-level exception occurred during execution of this statement (signal 5) que = 0 src = 0 ... called from C:\euphoria\EuAllegro5\Ex2.exw:22
by the way, i adjusted a couple of lines
src = al_get_display_event_source(display) al_register_event_source(event, src) src = al_get_keyboard_event_source() al_register_event_source(event, src)
Cheers
Chris
2. Re: FAO Andy Patterson EuAllegro5 issues
- Posted by ChrisB (moderator) Nov 03, 2016
- 1284 views
Hi
Just checked, al_create_display() returns NULL on error, and in both these examples, 0 is being returned.
Cheers
Chris
3. Re: FAO Andy Patterson EuAllegro5 issues
- Posted by Icy_Viking Nov 05, 2016
- 1207 views
Hello,
Thanks. Yeah there were a few issues with some of the examples. I think I stated that in the documentation. I've been meaning to go back and work on them some more, but I keep getting side-tracked with other projects. I did recently update my SDL wrapper for SDL 2.0.5
4. Re: FAO Andy Patterson EuAllegro5 issues
- Posted by ChrisB (moderator) Nov 05, 2016
- 1187 views
Hi.
Know that feeling well!
Cheers
Chris