Everyone,
I am looking at DirectFB 1.6. I hit an interesting line and I was hoping
someone with more experience could confirm it (or set me straight).
In src/display/idirectfbsurface_window.c, in the function
IDirectFBSurface_Window_Flip, there is a check for STEREO:
if (data->base.surface->config.caps & DWCAPS_STEREO)
return DFB_UNSUPPORTED;
Let me direct your attention to the "W" in DWCAPS_STEREO instead of an "S". I
know this is a window function but isn't the caps in reference here coming from
the surface capabilities and not the window's capabilities hence a DSCAPS vs
DWCAPS?
I believe what it should be is:
if (data->base.surface->config.caps & DSCAPS_STEREO)
return DFB_UNSUPPORTED;
Is this correct?
Bryce
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev