Well, I am running 8bpp, as a matter of fact. Problem solved, anyway: downloading the examples and taking a closer look at df_palette.c showed that there was an addition of a pixelformat entry in the DFBSurfaceDescription which has to be set to DSPF_LUT8.

And then it works, all of a sutten &>)

Thanks for your reply, you prompted me to give df_palette a good look which finally showed the problem.

Regards,

Chris
 



[EMAIL PROTECTED]

10.11.2005 17:37

To
[EMAIL PROTECTED]
cc
[email protected], [email protected]
Subject
Re: [directfb-dev] Problem with 0.9.2x and GetPalette





On Thu, Nov 10, 2005 at 05:18:45PM +0100, [EMAIL PROTECTED] wrote:
> With an application which has been running fine with kernel 2.4 I get the
> following error when running under 2.6.12.2:
>
> (#) DirectFBError [primary->GetPalette( primary, &palette )]: Not
> supported!

That means the surface doesn't have a palette.

I would guess you are not using an 8bpp mode anymore.

--
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to