[Bug 21926] Invalid glCopyTexSubImage2D call

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 5 03:18:11 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21926





--- Comment #2 from Maciej Cencora <m.cencora at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list