Answered it myself.  Changed to;

        unsigned int myBuf[imageWidth * imageHeight * 4];

        glReadPixels( 0, 0, imageWidth, imageHeight, GL_BGRA,
        GL_UNSIGNED_INT_8_8_8_8, &myBuf);

        return REALBuildPictureFromBuffer(imageWidth, imageHeight,
        kRBPixelBGRX32, myBuf, imageWidth * 4);

…and things work much better.  Amazing what a little googling can do.




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to