Hi Lloyd,
that all looks hunky-dory to me.
The values themselves might be incorrect (I mean, the w/h/x/y values).
I would advice to configure with --enable-debug and run with --dfb:debug
to see which debug statement comes last, but a floating point exception
is normally caused by an environment issue rather than a programming
bug, so a backtrace would be more helpful.
Greets
Niels
Lloyd Sargent wrote:
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
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users