|
From: | Tyler Nielsen |
Subject: | Re: [Adonthell-devel] Bug in SDL gfx backend module (?) |
Date: | Fri, 4 Jan 2008 13:19:26 -0700 |
On Dec 23, 2007 4:58 PM, Kai Sterker <address@hidden> wrote:That's the problem. The draw_line() method uses put_pix() internally,
> 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.
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
address@hidden
http://lists.nongnu.org/mailman/listinfo/adonthell-devel
[Prev in Thread] | Current Thread | [Next in Thread] |