nanogui: GrArea and colours
Subject:
GrArea and colours
From:
Richard Kvalsvik ####@####.####
Date:
2 Nov 1999 14:07:06 -0000
Message-Id: <381EEE37.8AC8F23A@crusaders.no>
Trying to write a 24-bit picture to a window here using RGB();
I think I am doing something terrible wrong, because it most certainly
crash.
But this wasn't documented anywhere, so I dont really know what to do.
here goes :
......loop......
pixels[ j ] = NANOX_RGB( line[ j * 3 ], line[ (j * 3) +1 ], line[
(j * 3) +2 ]);
......loop end......
GrArea( Nanox_GetWindowID(), Nanox_GetGCID(), x, y, width, height,
pixels );
this seem to crash a lot most of the times.... what did I miss out ?
--
Richard Kvalsvik