Any idea what could possibly be causing these problems?  Is there some function that flips the framebuffer's texture?  What am I missing and what's going on?