https://bugs.winehq.org/show_bug.cgi?id=46774
Lorenzo Ferrillo lorenzofer@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lorenzofer@live.it
--- Comment #1 from Lorenzo Ferrillo lorenzofer@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.