http://bugs.winehq.org/show_bug.cgi?id=13514
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2008-06-16 15:25:33 --- The strange part is this:
trace:d3d:IWineD3DDeviceImpl_CreateSurface (0x9794070) Create surface trace:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x9794070) : simulating 320MB, returning 55MB left warn:d3d:IWineD3DDeviceImpl_CreateSurface Out of 'bogus' video memory
It's running out of vidmem with 55 MB left. (well actually it is trying to create a 4096*4096*ARGB8 texture, which is 64 MB)
What I see with a quick look at the code is that there's a type confusion: UINT vs unsigned int vs long vs unsigned long. That should all be changed to UINT, but I don't think this is the problem here.
The other question is if the return value(WINED3DERR_OUTOFVIDEOMEMORY) is correct in this situation.