nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: 32bpp vs 24bpp solved
From: Greg Haerr
Date: Wed, 2 Feb 2000 20:16:57 -0700

: > : Has anyone done any work with 24bpp framebuffers? I couldn't get any of
: > : the demos to run on an 800x600x24bpp fb.
: 
: Most demos kinda run, but the color is off and there are vertical lines
: every few mm. Mdemo with GRAPH3D enabled takes a seg fault. Below is the
: stack trace.

Kyle -
    I just figured it out.  Currently, we only have a 32bpp driver,
not 24bpp.  This means that each pixel is 4 bytes, whereas you are
setup for each pixel is 3 bytes. You'll have to write a fblin24.c... ;-(
Or setup to run 32bpp...

Regards,

Greg



nanogui@linuxhacker.org