PDA

View Full Version : what is the type and format in gldrawpixels if changing bmp in memory to framebuffer?



kim1980
08-15-2001, 04:56 AM
what is the type and format in gldrawpixels if changing bmp in memory to framebuffer?

Gavin
08-15-2001, 05:06 AM
Maybe if we give it an hour you'll ask the next question! j/k

from memory (and if you look at the spec sheet!) glbyte *bmp_mem;
and r1, g1, b1, r2, g2, b2.......
assuming you don't have alpha etc.
you can set this stuff when you cal ldrawpixels though