FBO's behaving differently in OSX vs. Linux.

Hey all, this little bit of code dumps the contents of an FBO into an CVColorImage and then warps it using warpIntoMe.

        // copy the fbos into the unwarped image containers then warp them.  
        for (int i = 0; i < 6; i++){  
            giWarped[i].warpIntoMe(camImage[i],srcPositions[i],dstPositions[i] );  

It works perfectly in OSX 10.8 but scrambles the image under Linux. This is still 0.7.4 BTW.

I know the FBO’s are good because I can draw them fine. Ideas? How are FBO’s handled differently in OSX than under Linux?


Have you tried,

ofFbo::allocate(w, h)  

in advance? I recall that it fixed similar problem for me using Ubuntu + oF 0071.

Also try,

ofViewport(0, 0, w, h, false);  

if resulting image is flipped.