http://bugs.winehq.org/show_bug.cgi?id=21926
Summary: Invalid glCopyTexSubImage2D call Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: m.cencora@gmail.com
During d3d9 visual test(np2_strect_rect_test) wine is calling glCopyTexSubImage2D for texture level 0, that hasn't been previously defined with glTexImage2D call (at least that's what mesa is reporting). Reproducable on r300 dri driver under KMS, and software rasterizer with disabled extensions: EXT_framebuffer_blit, ARB_framebuffer_object, ARB_texture_npot.
fixme:d3d_surface:fb_copy_to_texture_hwstretch >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCopyTexSubImage2D @ surface.c / 3309
It's the first glCopyTexSubImage2D function call in the fb_copy_to_texture_hwstretch.