https://bugs.winehq.org/show_bug.cgi?id=32007
--- Comment #9 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53432 --> https://bugs.winehq.org/attachment.cgi?id=53432 avoid a crash with null-pointers
The crash appears because subresource == NULL. The rough hack avoid the crash but then I fall into the next crash ~~~~ fixme:d3d11:d3d10_device_RSSetViewports Multiple viewports not implemented. fixme:d3d11:d3d10_device_RSSetScissorRects Multiple scissor rects not implemented. fixme:d3d:wined3d_buffer_create Ignoring access flags (pool) fixme:d3d:wined3d_buffer_create Ignoring access flags (pool) fixme:d3d:wined3d_buffer_create Ignoring access flags (pool) fixme:d3d:wined3d_buffer_create Ignoring access flags (pool) fixme:d3d11:d3d_texture2d_init Array textures not implemented. err:d3d:wined3d_rendertarget_view_init no subresource idx=7 err:d3d:wined3d_rendertarget_view_init no subresource idx=14 err:d3d:wined3d_rendertarget_view_init no subresource idx=21 err:d3d:wined3d_rendertarget_view_init no subresource idx=28 err:d3d:wined3d_rendertarget_view_init no subresource idx=35 warn:d3d:resource_init Format WINED3DFMT_R32_TYPELESS cannot be used for depth/stencil buffers. warn:d3d:resource_init Format WINED3DFMT_R32_TYPELESS cannot be used for depth/stencil buffers. warn:d3d:resource_init Format WINED3DFMT_R32_TYPELESS cannot be used for depth/stencil buffers. warn:d3d:resource_init Did not find a suitable GL resource type, resource type, d3d type 3. fixme:d3d:wined3d_buffer_create Ignoring access flags (pool) fixme:d3d:wined3d_buffer_create Ignoring access flags (pool) fixme:d3d11:d3d10_device_ClearDepthStencilView iface 0x209b64, depth_stencil_view 0x11e332c, flags 0x3, depth 1.000000, stencil 0 stub! fixme:d3d11:d3d10_device_RSSetViewports Multiple viewports not implemented. wine: Unhandled page fault on read access to 0x00000014 at address 0x50a100 (thread 0027), starting debugger... ~~~~
See messages from my patch err:d3d:... it works every 7 subresources