https://bugs.winehq.org/show_bug.cgi?id=43232
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com Component|-unknown |directx-d3d Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #11 from Józef Kucia joseph.kucia@gmail.com --- It seems that it should be possible to call SetSurfaceDesc() for textures with mipmaps. The game calls SetSurfaceDesc() to set user memory separately for each miplevel.
--- snip --- 0009:trace:ddraw:ddraw_surface7_SetSurfaceDesc iface 0x61ede60, surface_desc 0x4e12d0, flags 0. 0009:trace:ddraw:wined3dformat_from_ddrawformat Convert a DirectDraw Pixelformat to a WineD3D Pixelformat 0009:trace:ddraw:DDRAW_dump_pixelformat ( DDPF_RGB , RGB bits: 16, R 0x0000f800 G 0x000007e0 B 0x0000001f) 0009:trace:ddraw:wined3dformat_from_ddrawformat Convert a DirectDraw Pixelformat to a WineD3D Pixelformat 0009:trace:ddraw:DDRAW_dump_pixelformat ( DDPF_RGB , RGB bits: 16, R 0x0000f800 G 0x000007e0 B 0x0000001f) 0009:trace:d3d:wined3d_texture_update_desc texture 0x66600d0, width 128, height 128, format WINED3DFMT_B5G6R5_UNORM, multisample_type 0, multisample_quality 0, mem 0x49c6020, pitch 256. 0009:trace:d3d:wined3d_format_calculate_pitch Returning row pitch 256, slice pitch 32768. 0009:warn:d3d:wined3d_texture_update_desc Texture has multiple sub-resources, not supported. 0009:warn:ddraw:ddraw_surface7_SetSurfaceDesc Failed to update surface desc, hr 0x8876086c.
...
0009:trace:ddraw:ddraw_surface7_SetSurfaceDesc iface 0x61d2680, surface_desc 0x4e12d0, flags 0. 0009:trace:ddraw:wined3dformat_from_ddrawformat Convert a DirectDraw Pixelformat to a WineD3D Pixelformat 0009:trace:ddraw:DDRAW_dump_pixelformat ( DDPF_RGB , RGB bits: 16, R 0x0000f800 G 0x000007e0 B 0x0000001f) 0009:trace:ddraw:wined3dformat_from_ddrawformat Convert a DirectDraw Pixelformat to a WineD3D Pixelformat 0009:trace:ddraw:DDRAW_dump_pixelformat ( DDPF_RGB , RGB bits: 16, R 0x0000f800 G 0x000007e0 B 0x0000001f) 0009:trace:d3d:wined3d_texture_update_desc texture 0x66600d0, width 64, height 64, format WINED3DFMT_B5G6R5_UNORM, multisample_type 0, multisample_quality 0, mem 0x49ce020, pitch 128. 0009:trace:d3d:wined3d_format_calculate_pitch Returning row pitch 128, slice pitch 8192. 0009:warn:d3d:wined3d_texture_update_desc Texture has multiple sub-resources, not supported. --- snip ---