Re: strange trouble in displaying a 8bit monochromy grey scale image
- From: "John Cupitt" <jcupitt gmail com>
- To: heavenscape <masonduan1 sina com>
- Cc: gtk-devel-list gnome org
- Subject: Re: strange trouble in displaying a 8bit monochromy grey scale image
- Date: Fri, 2 Jun 2006 12:44:29 +0100
On 6/2/06, John Cupitt <jcupitt gmail com> wrote:
memset( p, sizeX * sizeY * 3, pixel_value )
Ahem, of course that should be
memset (p, pixel_value, sizeX * sizeY * 3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]