http://bugs.winehq.org/show_bug.cgi?id=16559
--- Comment #4 from John Haywards normandy@web.de 2009-01-05 12:41:50 --- Well, I don't know whether this is right (parameters?), but the error is gone. I simply wrote the case-check for 62-64, it looked good for me, but I didn't noticed before, too.
--- case WINED3DFMT_X8L8V8U8: // 62 DDPixelFormat->dwFlags = DDPF_BUMPDUDV; DDPixelFormat->dwFourCC = 0; DDPixelFormat->u1.dwBumpBitCount = 32; DDPixelFormat->u2.dwBumpDuBitMask = 0x000000ff; DDPixelFormat->u3.dwBumpDvBitMask = 0x0000ff00; DDPixelFormat->u4.dwBumpLuminanceBitMask = 0x00ff0000; DDPixelFormat->u5.dwLuminanceAlphaBitMask = 0xff000000; break; case WINED3DFMT_Q8W8V8U8: // 63 DDPixelFormat->dwFlags = DDPF_BUMPDUDV; DDPixelFormat->dwFourCC = 0; DDPixelFormat->u1.dwBumpBitCount = 32; DDPixelFormat->u2.dwBumpDuBitMask = 0x000000ff; DDPixelFormat->u3.dwBumpDvBitMask = 0x0000ff00; DDPixelFormat->u4.dwBumpLuminanceBitMask = 0x00ff0000; DDPixelFormat->u5.dwLuminanceAlphaBitMask = 0xff000000; break; case WINED3DFMT_V16U16: // 64 DDPixelFormat->dwFlags = DDPF_BUMPDUDV; DDPixelFormat->dwFourCC = 0; DDPixelFormat->u1.dwBumpBitCount = 32; DDPixelFormat->u2.dwBumpDuBitMask = 0x0000ffff; DDPixelFormat->u3.dwBumpDvBitMask = 0xffff0000; DDPixelFormat->u4.dwBumpLuminanceBitMask = 0x00000000; DDPixelFormat->u5.dwLuminanceAlphaBitMask = 0x00000000; break; --- Just paste to "dlls/ddraw/utlis.c", wine 1.1.12 its after line 316... Then recompile...
I repeat: I'm _really_ unsure, if someone knows d3d/dd better, please check this, thanks!