http://bugs.winehq.org/show_bug.cgi?id=27838
--- Comment #10 from Ruslan b7.10110111@gmail.com 2011-07-23 17:29:00 CDT --- (In reply to comment #9)
Created an attachment (id=35667)
--> (http://bugs.winehq.org/attachment.cgi?id=35667) [details]
patch
Does this patch make it any better?
This patch fixes all settings when the game isn't loaded, but in-game changes to "Reflection resolution", "Water quality" and "Shadow quality" still lead to D3D reset failure.
On commit fadfdf21c055caf833a137ffc269c2073dc87fd6 these settings worked correctly, but some messages were printed to console while they were being applied (with WINEDEBUG unset):
err:d3d_surface:surface_set_texture_name Surface has SFLAG_INTEXTURE set, but no texture name. err:d3d_surface:surface_modify_location Surface 0x21e230 does not have any up to date location. fixme:keyboard:X11DRV_LoadKeyboardLayout L"0", 0002: stub! fixme:keyboard:X11DRV_MapVirtualKeyEx keyboard layout (nil) is not supported err:d3d:device_resource_released Texture 0x21de70 is still in use by stateblock 0x276c1fc8, stage 16. err:d3d:device_resource_released Texture 0x275cdb38 is still in use by stateblock 0x276c1fc8, stage 19. err:d3d_surface:surface_set_texture_name Surface has SFLAG_INTEXTURE set, but no texture name. err:d3d_surface:surface_modify_location Surface 0x44825ee0 does not have any up to date location. err:d3d:device_resource_released Texture 0x3f89fa18 is still in use by stateblock 0x276d4e00, stage 16. err:d3d:device_resource_released Texture 0x421b0198 is still in use by stateblock 0x276d4e00, stage 19. err:d3d_surface:surface_set_texture_name Surface has SFLAG_INTEXTURE set, but no texture name. err:d3d_surface:surface_modify_location Surface 0x4b6f1790 does not have any up to date location. fixme:keyboard:X11DRV_LoadKeyboardLayout L"0", 0002: stub! fixme:keyboard:X11DRV_MapVirtualKeyEx keyboard layout (nil) is not supported err:d3d:device_resource_released Texture 0x44351ad0 is still in use by stateblock 0x3f68c438, stage 16. err:d3d:device_resource_released Texture 0x4433af40 is still in use by stateblock 0x3f68c438, stage 19. err:d3d_surface:surface_set_texture_name Surface has SFLAG_INTEXTURE set, but no texture name. err:d3d_surface:surface_modify_location Surface 0x4ea48480 does not have any up to date location. err:d3d:device_resource_released Texture 0x4b5bd6b0 is still in use by stateblock 0x3f69d240, stage 16. err:d3d:device_resource_released Texture 0x42d420c0 is still in use by stateblock 0x3f69d240, stage 19. err:d3d_surface:surface_set_texture_name Surface has SFLAG_INTEXTURE set, but no texture name.