[Bug 24754] Nancy Drew "Tale of the Twister" demo text not rendered

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 31 04:56:44 CDT 2010


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

--- Comment #6 from Tony Wasserka <tony.wasserka at freenet.de> 2010-10-31 04:56:43 CDT ---
Turns out that inserting
>  D3DLOCKED_RECT lr;
>  IDirect3DTexture9_LockRect((LPDIRECT3DTEXTURE9) This->pTexture, 0, &lr, NULL, 0);
>  IDirect3DTexture9_UnlockRect((LPDIRECT3DTEXTURE9) This->pTexture, 0);
after the GetGlyphData call in DrawTextW() fixes this issue...

Maybe the dirty rect doesn't get updated properly or something?
Try using IDirect3DTexture9_AddDirtyRect((LPDIRECT3DTEXTURE9)This->pTexture,
NULL); instead of the above code...

-- 
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