On Dec 23, 2007 4:58 PM, Kai Sterker <[EMAIL PROTECTED]> wrote: > Maybe it's not even a bug, just stupidity on my account. From looking > at the problem with the word wrapping in v0.3, I've seen that drawing > operations on surfaces are usually surrounded by a pair of > lock()/unlock() method calls. I didn't do any of that and that might > be the whole issue.
That's the problem. The draw_line() method uses put_pix() internally, which requires the surface to be locked. So I'll add the locking to that method, making it safer to use. Seems to be a better alternative than forcing everybody calling that method to do proper locking. Kai _______________________________________________ Adonthell-devel mailing list Adonthell-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/adonthell-devel