This was built using buildroot for the AT91SAM9261 processor.

The error occurs when I am calling this function:

Function(IDirectFBDisplayLayer *superlayer)
{

windowSurfDesc.flags = (DFBWindowDescriptionFlags) (DWDESC_WIDTH | 
DWDESC_HEIGHT | DWDESC_POSX | DWDESC_POSY | DWDESC_PIXELFORMAT);
    windowSurfDesc.width = windowPosition.GetWidth();
    windowSurfDesc.height = windowPosition.GetHeight();
    windowSurfDesc.posx = windowPosition.GetLeft();
    windowSurfDesc.posy = windowPosition.GetTop();
    windowSurfDesc.pixelformat = DSPF_RGB16;

superLayer->CreateWindow(superLayer, &windowSurfDesc, &windowObject);

For some reason I get a floating point exception in CreateWindow(). 

Much of this code came from a previous project that utilized 0.9ish version of 
the DirectFB code.

I'm hoping that my mistake is rather obvious... If not, please let me know 
what I need to do to make it more obvious!

Cheers,

Lloyd



_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to