OpenAmiga (807/964)

From:Jarno van der Linden
Date:25 Sep 2000 at 01:03:59
Subject:Re: AMIOPEN: Error while opening/closing Pixmap

On Sat, 23 Sep 2000, Andreas Kuessner wrote:

> out_pixmap=ave_avo_pix_open(width,height,32);

I think you're missing a parameter here:
ave_avo_pix_open(buffer,width,height,depth)
It seems that most of the time you're lucky, and p0 (in which the buffer
pointer will be passed) is zero. Some of the time, you're unlucky and p0
contains some garbage. AVE thinks you're passing in a block of memory for
the buffer, and WHAM! it tries to access some random memory address.

---JvdL---

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html