http://bugs.winehq.org/show_bug.cgi?id=20448
--- Comment #9 from Henri Verbeet hverbeet@gmail.com 2009-10-24 05:54:01 --- Created an attachment (id=24309) --> (http://bugs.winehq.org/attachment.cgi?id=24309) patch
Yes, it's NULL if the application is rendering onscreen. But in that case "status" in context_check_fbo_status() should *always* be GL_FRAMEBUFFER_COMPLETE. I'll submit something like the attached patch.