https://bugs.winehq.org/show_bug.cgi?id=40795
Bug ID: 40795 Summary: Any Direct3D10 application crashes when using native d3d10.dll after commit fcc8553d8b8075542cd3edf26276c1915d29b0da Product: Wine Version: 1.9.12 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com
Created attachment 54708 --> https://bugs.winehq.org/attachment.cgi?id=54708 Sample app, patch, working compiled binaries
When you use native d3d10.dll from Windows Vista any Direct3D 10 application crashes after start.
Precondition: 1. You need to implement simple stub export function D3D10CoreGetVersion to d3d10core.dll 2. You need d3d10.dll at least from Windows Vista RTM
Steps to repro: 1. Apply patch 0001-d3d10core-Add-D3D10CoreGetVersion-implementation.patch 2. Compile WineD3D including this patch also Wine-Staging patches are recommended 3. Copy and paste native d3d10.dll from Windows Vista to a folder where app's executeble is 3. Start app
As I figured out this is a regression after commit https://github.com/wine-mirror/wine/commit/fcc8553d8b8075542cd3edf26276c1915...
Because before this commit I was able to run Direct3D 10 applications using native d3d10.dll and implementing stub function D3D10CoreGetVersion()