From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <25b4b24eb686c09c1fc21e00f4a279ab@brasstown.quanstro.net> Date: Wed, 15 Jan 2014 21:31:26 +0000 Message-ID: From: Conor Williams To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1134640cfb2f4e04f00907df Subject: Re: [9fans] libmemlayer bug Topicbox-Message-UUID: b3b9688a-ead8-11e9-9d60-3106f5b1d025 --001a1134640cfb2f4e04f00907df Content-Type: text/plain; charset=ISO-8859-1 i found the problem... you did not allocate a big enough window... On Wed, Jan 15, 2014 at 9:19 PM, Conor Williams wrote: > did you divide by 10? > > > On Wed, Jan 15, 2014 at 7:08 PM, wrote: > >> its wrong. >> >> look at the code comments. it draws the same thing twice. one time, >> on to a offscreen image and one time on screen (a layer) directly. >> >> they should be identical, they are not. >> >> comment out the 2nd one to see how its supposed to look. >> >> it should be just a blue rectangle overlapping a red one (one >> pixel shifted apart). >> >> -- >> cinap >> >> > --001a1134640cfb2f4e04f00907df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
i found the problem...

you did not allo= cate a big enough window...


<= div class=3D"gmail_quote">On Wed, Jan 15, 2014 at 9:19 PM, Conor Williams <= span dir=3D"ltr"><conor.williams@gmail.com> wrote:
did you divide by 10?
=


=
On Wed, Jan 15, 2014 at 7:08 PM, <cinap_lenrek@felloff.net>= wrote:
its wrong.

look at the code comments. it draws the same thing twice. one time,
on to a offscreen image and one time on screen (a layer) directly.

they should be identical, they are not.

comment out the 2nd one to see how its supposed to look.

it should be just a blue rectangle overlapping a red one (one
pixel shifted apart).

--
cinap



--001a1134640cfb2f4e04f00907df--