That works here, it looks like it's complaining about
800x600 support >being missing.
I get this error only when i run in desktop mode. When run fullscreen it say's:
Text: Failed to set technique DrawShadowMapNV in effect Shaders/StaticMesh technique not found
last lines of console fixme:d3d_decl:IWineD3DVertexDeclarationImpl_SetDeclaration Parsing declatation 9 fixme:d3d:IWineD3DDeviceImpl_EndStateBlock (0x7ff2ebe0) not recording! returning error fixme:d3d9:IDirect3DDevice9Impl_EndStateBlock IWineD3DDevice_EndStateBlock returned an error
I was able to do some checking, and that's the same error I'm getting.
Are StateBlocks supposed to be nestable? I don't think they currently are on Wine, but my debug output appears to suggest they should be:
... 0009:trace:d3d9:IDirect3DDevice9Impl_BeginStateBlock (0x7fdf3e80) Relay 0009:trace:d3d:IWineD3DDeviceImpl_BeginStateBlock (0x7fdf42c0)(0x7fdf42c0) creted object 0x7918d1e0 0009:trace:d3d:IWineD3DStateBlockImpl_Release (0x7fe34cf0) : Releasing from 2 0009:trace:d3d:IWineD3DDeviceImpl_BeginStateBlock (0x7fdf42c0) recording stateblock 0x7918d1e0 ... 0009:trace:d3d9:IDirect3DDevice9Impl_BeginStateBlock (0x7fdf3e80) Relay 0009:trace:d3d:IWineD3DDeviceImpl_BeginStateBlock (0x7fdf42c0)(0x7fdf42c0) creted object 0x791ceaa0 0009:trace:d3d:IWineD3DStateBlockImpl_Release (0x7918d1e0) : Releasing from 1 0009:trace:d3d:IWineD3DDeviceImpl_BeginStateBlock (0x7fdf42c0) recording stateblock 0x791ceaa0 ... 0009:trace:d3d9:IDirect3DDevice9Impl_EndStateBlock (0x7fdf3e80) Relay 0009:trace:d3d:IWineD3DStateBlockImpl_AddRef (0x7fe34cf0) : AddRef increasing from 1 0009:trace:d3d:IWineD3DDeviceImpl_EndStateBlock (0x7fdf42c0) returning token (ptr to stateblock) of 0x791ceaa0 0009:trace:d3d9:IDirect3DDevice9Impl_EndStateBlock (0x7fdf3e80)Returning 0x77416978 0x791ceaa0 ... 0009:trace:d3d9:IDirect3DDevice9Impl_BeginStateBlock (0x7fdf3e80) Relay 0009:trace:d3d:IWineD3DDeviceImpl_BeginStateBlock (0x7fdf42c0)(0x7fdf42c0) creted object 0x7918d1e0 0009:trace:d3d:IWineD3DStateBlockImpl_Release (0x7fe34cf0) : Releasing from 2 0009:trace:d3d:IWineD3DDeviceImpl_BeginStateBlock (0x7fdf42c0) recording stateblock 0x7918d1e0 ... 0009:trace:d3d9:IDirect3DDevice9Impl_EndStateBlock (0x7fdf3e80) Relay 0009:trace:d3d:IWineD3DStateBlockImpl_AddRef (0x7fe34cf0) : AddRef increasing from 1 0009:trace:d3d:IWineD3DDeviceImpl_EndStateBlock (0x7fdf42c0) returning token (ptr to stateblock) of 0x7918d1e0 0009:trace:d3d9:IDirect3DDevice9Impl_EndStateBlock (0x7fdf3e80)Returning 0x7744bbf0 0x7918d1e0 ... 0009:trace:d3d9:IDirect3DDevice9Impl_EndStateBlock (0x7fdf3e80) Relay 0009:fixme:d3d:IWineD3DDeviceImpl_EndStateBlock (0x7fdf42c0) not recording! returning error 0009:fixme:d3d9:IDirect3DDevice9Impl_EndStateBlock IWineD3DDevice_EndStateBlock returned an error ...
Shortly after which the demo dies with "Failed to set technique DrawShadowMapNV in effect Shaders/StaticMesh technique not found."