http://bugs.winehq.org/show_bug.cgi?id=21540
--- Comment #2 from Rafael Monica monraaf@gmail.com 2010-01-31 11:02:19 --- Created an attachment (id=25984) --> (http://bugs.winehq.org/attachment.cgi?id=25984) Wine log +d3d
More specifically, the crash occurs on the line:
gl_info->fbo_ops.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, GL_TEXTURE_2D, 0, 0);
in context_clean_fbo_attachments. If I comment out the call to context_clean_fbo_attachments in context_destroy_fbo there's no crash.