[Bug 46774] DDS compression tools crash, possibly due to creating a DirectX context without a window

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 22 16:45:38 CDT 2019


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

Lorenzo Ferrillo <lorenzofer at live.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lorenzofer at live.it

--- Comment #1 from Lorenzo Ferrillo <lorenzofer at live.it> ---
Created attachment 64241
  --> https://bugs.winehq.org/attachment.cgi?id=64241
Allow settign pixel format on a context with win_handle == NULL

This small patch allow both DDSOpt and Ordenador to startup.

DDSOpt is still not working (the file picker ignore operations).

Ordenador still require d3dx9_43.dll as native from winetricks. Otherwise it
will badly fail on saving dds textures with mipmaps (mipmap levels are not
supported) or save DDS file at all without DXTn staging patchset and company.

With the attached patch and d3dx9_47 as native Ordenador seems to work well (I
will need to test the result on Oblivion).

The issue is that in the context the associated window handle is setted to NULL
but the DC window is GetDesktopWindow handle.

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