http://bugs.winehq.org/show_bug.cgi?id=21926
--- Comment #2 from Maciej Cencora m.cencora@gmail.com 2010-03-05 03:18:10 --- The program is wine d3d9 dll unit test (wine/dlls/d3d9/tests/visual.c IIRC) function np2_strect_rect_test.
The issue is the test fails because wine is trying to override a region of a texture image with glCopyTexSubImage2D, but the image hasn't been defined before with gl(Copy)TexImage2D call. Then this texture image is used during rendering operation, but since the image doesn't exist the render operation fails.
The error seem to be in wined3d/surface.c function fb_copy_to_texture_hwstretch.
I've notified Roderick Colenbrander on IRC yesterday about this problem.