[Bug 46733] New: IDirect3DTexture9_LockRect failed inside ID3DXFontImpl_DrawTextW with OblivionReloaded

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 27 17:59:59 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46733

            Bug ID: 46733
           Summary: IDirect3DTexture9_LockRect failed inside
                    ID3DXFontImpl_DrawTextW with OblivionReloaded
           Product: Wine-staging
           Version: 4.2
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: lorenzofer at live.it
                CC: leslie_alistair at hotmail.com, z.figura12 at gmail.com
      Distribution: ---

Created attachment 63724
  --> https://bugs.winehq.org/attachment.cgi?id=63724
+d3dx,+d3d9,+d3d log

Hi,

While testing OblivionReloaded (a patcher/extender for TES4:Oblivion), I
discovered that in some place where there was supposed to be a rendered text,
wasn't. One of these place is the options menu (by default it came up with the
key  O).

Digging inside OR sourcecode, I saw that it use DrawTextA from ID3DXFont.
However the functions was silently failing and there wasn't any message from
the log.

I  put some TRACE messages inside the functions and discovered that was failing
in IDirect3DTexture9_LockRect.

After getting a +d3dx,+d3d9,+d3d log I got:
0046:warn:d3d:wined3d_resource_map Resource does not have MAP_W access.

on a Texture created by the DrawTextW function.

Now, I don't have aviable other games that use the DrawText functions,and were
reported working. But considering where is failing, it's possible that a change
(in wine or another staging patch) broke this patch en passant?

The attachment uploader is crying when trying to upload the compressed log.
Will retry tomorrow.

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