1. FAO Andy Patterson EuAllegro5 issues

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

new topic     » topic index » view message » categorize

2. Re: FAO Andy Patterson EuAllegro5 issues

Hi

Just checked, al_create_display() returns NULL on error, and in both these examples, 0 is being returned.

Cheers

Chris

new topic     » goto parent     » topic index » view message » categorize

3. Re: FAO Andy Patterson EuAllegro5 issues

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: FAO Andy Patterson EuAllegro5 issues

Hi.

Know that feeling well!

Cheers

Chris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu