It is currently Wed Jul 06, 2011 12:49 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Noob alert ;)
PostPosted: Tue Mar 22, 2011 10:20 am 

Joined: Mon Mar 21, 2011 8:09 am
Posts: 24
Hey Guys (and Gals),

Playing with the analog watch app and I'm not figuring out what's generating this error. It doesn't occur until I launch pulse_app. I'm not calling pulse_set_draw_window anywhere.

build/gtk/gtk_pulse_os/gtk_pulse_os.c:116: pulse_set_draw_window: Assertion `x2 >= x1' failed


Thanks for your help,
N



_________________
Yet another seasonal album - available NOW!...Warning: Extreme Wackiness:
Image
Worst Kitchen Direct

AmazonMP3

iTunes
Offline
 Profile  
 
 Post subject: Re: Noob alert ;)
PostPosted: Tue Mar 22, 2011 3:08 pm 

Joined: Tue Feb 15, 2011 10:35 pm
Posts: 42
pulse_set_draw_window is also called when drawing resource images/fonts. The assert is used for error checking, both (x1 <= x2) and (y1 <= y2) must be true to create the drawing window. On the watch if the assert tests false it wont create the drawing window, but on the simulator it will terminate the app and throw an error message.

There's probably a bug in the program where it tries to draw an image to the edge of the screen but the image actually goes beyond the screen so it tries to wrap around.


Offline
 Profile  
 
 Post subject: Re: Noob alert ;)
PostPosted: Thu Mar 24, 2011 7:33 am 

Joined: Mon Mar 21, 2011 8:09 am
Posts: 24
Cool - thanks Ryan. That's exactly what I need to find the offending code.



_________________
Yet another seasonal album - available NOW!...Warning: Extreme Wackiness:
Image
Worst Kitchen Direct

AmazonMP3

iTunes
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: